Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Colab #9

Open
qtabdullah opened this issue Nov 2, 2023 · 1 comment
Open

Google Colab #9

qtabdullah opened this issue Nov 2, 2023 · 1 comment

Comments

@qtabdullah
Copy link

pls add google colab

@tralala87
Copy link

tralala87 commented Nov 4, 2023

here you go:

!git` clone https://github.com/arthur-qiu/LongerCrafter.git
%cd LongerCrafter
!pip install -r requirements.txt
!pip install gdown
import gdown
import os
url = 'https://huggingface.co/VideoCrafter/Text2Video-1024/resolve/main/model.ckpt'
os.makedirs('checkpoints/base_1024_v1', exist_ok=True)
gdown.download(url, 'checkpoints/base_1024_v1/model.ckpt', quiet=False)
!pip install --upgrade keras
import keras
from keras import backend as K
K.set_image_data_format('channels_last')
!pip install --upgrade einops
!sh scripts/run_text2video_freenoise_1024.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants