Open-Sora
Open-Sora copied to clipboard
我运行python scripts/inference.py configs/opensora-v1-1/inference/sample-ref.py --ckpt-path OpenSora-STDiT-v2-stage2/model.safetensors --prompt-path assets/texts/t2i_samples.txt --num-frames 1 --image-size 1024 1024
非常给力的工作。 我运行python scripts/inference.py configs/opensora-v1-1/inference/sample.py --ckpt-path OpenSora-STDiT-v2-stage2/model.safetensors --prompt-path assets/texts/t2i_samples.txt --num-frames 1 --image-size 1024 1024 发现一个错误 ValueError: Invalid checkpoint path: OpenSora-STDiT-v2-stage2/model.safetensors 我需要怎么配置运行 --ckpt-path呢? python scripts/inference.py configs/opensora-v1-1/inference/sample.py --ckpt-path /workspace/i2v/Open-Sora/OpenSora-STDiT-v2-stage3/model.safetensors --prompt "A beautiful sunset over the city" --num-frames 32 --image-size 480 854 运行这个也是一样
参考 #322 找到你的ckpt_utils.py文件,比如
/home/xxx/miniconda3/envs/opensora/lib/python3.10/site-packages/opensora/utils/ckpt_utils.py
然后修改。注意别在clone下来的Open-Sora文件夹里面的ckpt_utils.py文件改。或者你改完重新pip install -v .
This issue is stale because it has been open for 7 days with no activity.
目前已经支持自动下载了。