【潞晨云】测试opensora#潞晨云
线上选择H800进行复现测试,根据镜像opensora的引导按步骤进行测试,非常丝滑,测试顺利
链接: https://cloud.luchentech.com/doc/docs/image/Open-Sora%201.1
vim ~/.ssh/authorized_keys
cd Open-Sora
git pull
pip install -e .
# long video generation
python scripts/inference-long.py configs/opensora-v1-1/inference/sample.py \
--num-frames 32 --image-size 240 426 --loop 16 --condition-frame-length 8 --sample-name long \
--prompt '|0|a white jeep equipped with a roof rack driving on a dirt road in a coniferous forest.|2|a white jeep equipped with a roof rack driving on a dirt road in the desert.|4|a white jeep equipped with a roof rack driving on a dirt road in a mountain.|6|A white jeep equipped with a roof rack driving on a dirt road in a city.|8|a white jeep equipped with a roof rack driving on a dirt road on the surface of a river.|10|a white jeep equipped with a roof rack driving on a dirt road under the lake.|12|a white jeep equipped with a roof rack flying into the sky.|14|a white jeep equipped with a roof rack driving in the universe. Earth is the background.{"reference_path": "https://cdn.openai.com/tmp/s/interp/d0.mp4", "mask_strategy": "0,0,0,0,16"}'
生成视频
long_0
# image sampling with prompt
python scripts/inference.py configs/opensora-v1-1/inference/sample.py \
--prompt "A beautiful sunset over the city" --num-frames 1 --image-size 1024 1024
生成图片