Download train.bash from hellotung/patch-forcing-channel-concat: direct link, hf CLI and curl.
- Browser
- Download file 597 Bytes
-
https://huggingface.co/hellotung/patch-forcing-channel-concat/resolve/main/train.bash
- Command line
-
hf download hf://hellotung/patch-forcing-channel-concat/train.bash
-
curl -L -o train.bash https://huggingface.co/hellotung/patch-forcing-channel-concat/resolve/main/train.bash
597 Bytes
| set -e | |
| # Change directory to patch-forcing root | |
| cd /root/patch-forcing | |
| # Export PYTHONPATH for local modules and jutils | |
| # export PYTHONPATH="/tmp/jutils:/root/patch-forcing:${PYTHONPATH}" | |
| # Run training with specified hyperparameters | |
| python3 train.py experiment=vton_channel_concat \ | |
| data.params.batch_size=1 \ | |
| data.params.val_batch_size=4 \ | |
| train_params.max_steps=100000 \ | |
| train_params.log_train_image_interval=100 \ | |
| train_params.limit_val_batches=1 \ | |
| train_params.val_check_interval=5000 \ | |
| checkpoint_params.every_n_train_steps=1000 \ | |
| "$@" | |