Download diffusers/examples/cosmos/eval_lora.sh from Ouzhang/helios: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/datasets/Ouzhang/helios/resolve/main/diffusers/examples/cosmos/eval_lora.sh
- Command line
-
hf download hf://datasets/Ouzhang/helios/diffusers/examples/cosmos/eval_lora.sh
-
curl -L -o eval_lora.sh https://huggingface.co/datasets/Ouzhang/helios/resolve/main/diffusers/examples/cosmos/eval_lora.sh
406 Bytes
| export DATA_DIR="gr1_dataset/test" | |
| export LORA_DIR=YOUR_ADAPTER_DIR | |
| export OUT_DIR=YOUR_EVAL_OUTPUT_DIR | |
| revision="post-trained" | |
| export TOKENIZERS_PARALLELISM=false | |
| python eval_cosmos_predict25_lora.py \ | |
| --data_dir $DATA_DIR \ | |
| --output_dir $OUT_DIR \ | |
| --lora_dir $LORA_DIR \ | |
| --revision diffusers/base/$revision \ | |
| --height 432 --width 768 \ | |
| --num_output_frames 93 \ | |
| --num_steps 36 \ | |
| --seed 0 | |