Created
May 11, 2024 10:52
-
-
Save safa-dayo/d5a7f887c9dc4aa0130deee2faa7bd50 to your computer and use it in GitHub Desktop.
IC-LightをGoogle Colabで実行するためのコマンドです
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# こちらのコマンドは以下を参照して作成しています | |
# https://github.com/shinshin86/IC-Light/tree/add-share-option?tab=readme-ov-file#use-google-colab | |
!git clone -b add-share-option https://github.com/shinshin86/IC-Light.git | |
%cd IC-Light | |
!pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121 | |
!pip install -r requirements.txt | |
!python gradio_demo.py --share | |
# 背景も指定できるbackground-conditioned demoを試す際は以下のコメントを外し、 | |
# 上のgradio_demo.pyはコメントアウトした状態で実行してください | |
# !python gradio_demo_bg.py --share |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment