Download VideoX-Fun/scripts/wan2.1/env_setup.sh from YFanwang/Backup: direct link, hf CLI and curl.
- Browser
- Download file 831 Bytes
-
https://huggingface.co/datasets/YFanwang/Backup/resolve/main/VideoX-Fun/scripts/wan2.1/env_setup.sh
- Command line
-
hf download hf://datasets/YFanwang/Backup/VideoX-Fun/scripts/wan2.1/env_setup.sh
-
curl -L -o env_setup.sh https://huggingface.co/datasets/YFanwang/Backup/resolve/main/VideoX-Fun/scripts/wan2.1/env_setup.sh
831 Bytes
| cd /nfs/ywang29/video_reward/DanceGRPO | |
| # source activate | |
| # conda create -n wan python==3.10 -y | |
| # conda activate wan | |
| ./env_setup.sh fastvideo | |
| pip3 install moviepy | |
| pip3 install protobuf==3.20.0 | |
| # mkdir videos | |
| pip3 install huggingface_hub==0.24.0 | |
| pip3 install tf-keras | |
| pip3 install trl | |
| # pip3 install transformers==4.51.0 | |
| pip uninstall torchvision torch torchaudio -y | |
| pip install torchvision==0.22.1 | |
| # pip install torchvision==0.20.1 | |
| pip install pydantic -U | |
| pip install qwen_vl_utils | |
| pip install librosa | |
| pip install wandb | |
| # cd /nfs/ywang29/Reward_finetuning/VideoX-Fun | |
| # export LD_LIBRARY_PATH=/usr/local/cuda/lib64 | |
| pip install -U accelerate | |
| # cp /nfs/ywang29/Reward_finetuning/VideoX-Fun/scripts/wan2.1/modeling_qwen2_5_vl.py /usr/local/lib/python3.12/site-packages/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py | |