|
Download scripts/train_vae/README.md from weatherforecast1024/prediff_code: direct link, hf CLI and curl.
- Browser
- Download file 809 Bytes
-
https://huggingface.co/weatherforecast1024/prediff_code/resolve/main/scripts/train_vae/README.md
- Command line
-
hf download hf://weatherforecast1024/prediff_code/scripts/train_vae/README.md
-
curl -L -o README.md https://huggingface.co/weatherforecast1024/prediff_code/resolve/main/scripts/train_vae/README.md
809 Bytes
| # Train VAE from scratch on SEVIR-LR (downsampled low-resolution version) frames | |
| ## Commands for training | |
| Run the following command to train VAE on SEVIR-LR frames. | |
| Change the configurations in [corresponding cfg.yaml](cfg.yaml) | |
| ```bash | |
| cd ROOT_DIR/PreDiff | |
| MASTER_ADDR=localhost MASTER_PORT=10001 python ./scripts/vae/sevirlr/train_vae_sevirlr.py --gpus 2 --cfg ./scripts/vae/sevirlr/cfg.yaml --save tmp_vae_sevirlr | |
| ``` | |
| Or run the following command to directly load pretrained checkpoint for test. | |
| ```bash | |
| MASTER_ADDR=localhost MASTER_PORT=10001 python ./scripts/vae/sevirlr/train_vae_sevirlr.py --gpus 2 --pretrained --save tmp_vae_sevirlr | |
| ``` | |
| Run the tensorboard command to visualize the experiment records | |
| ```bash | |
| cd ROOT_DIR/PreDiff | |
| tensorboard --logdir ./experiments/tmp_vae_sevirlr/lightning_logs | |
| ``` | |