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

How can I load opensora 1.1 model with huggingfacetoken #391

Closed
JamesTensor opened this issue May 11, 2024 · 4 comments
Closed

How can I load opensora 1.1 model with huggingfacetoken #391

JamesTensor opened this issue May 11, 2024 · 4 comments
Labels

Comments

@JamesTensor
Copy link

JamesTensor commented May 11, 2024

Amazing project, thank you for your hard work!I have deployed open Sora 1.1 and can generate video by following command:
python scripts/inference.py configs/opensora-v1-1/inference/sample.py --prompt "A beautiful sunset over the city" --num-frames 32 --image-size 480 854

When I run orther Inference command, it prompts that a huggingface token is required to download the model.

I try Inference command: python scripts/inference.py configs/opensora-v1-1/inference/sample.py
--ckpt-path CKPT_PATH --prompt "A beautiful sunset over the city" --num-frames 16 --image-size 480 854

And the error is reported as follows:
401 Client Error: Unauthorized for url: https://huggingface.co/CKPT_PATH/resolve/main/config.json
Repository Not Found for url: https://huggingface.co/CKPT_PATH/resolve/main/config.json.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
CKPT_PATH is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>

And I try to add arguments: --token myhuggingfacetoken,but I get : unrecognized arguments: --token myhuggingfacetoken. In addition, Huggingface-cli login is also useless.

How can I load opensora 1.1 model?Thank you very much for your help

@JamesTensor
Copy link
Author

Does anyone have the same problem and can help me? Thank you so much

@TWTWTWTWTWTWTWTW
Copy link

Same...I also checked out the tutorial on the repo page, which is on Bilibili. The video tells you to sign up on their official cloud platform (which is really cheap btw, 6 rmb/hour for H800 GPU 80G), however there are nevertheless problems, they seem to have forgotten to put the corresponding pretrained models in the folder.

Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label May 29, 2024
Copy link

github-actions bot commented Jun 6, 2024

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants