Download train/script/train_compact_token_representation.sh from nvan15/OminiControlRotation: direct link, hf CLI and curl.
- Browser
- Download file 418 Bytes
-
https://huggingface.co/nvan15/OminiControlRotation/resolve/main/train/script/train_compact_token_representation.sh
- Command line
-
hf download hf://nvan15/OminiControlRotation/train/script/train_compact_token_representation.sh
-
curl -L -o train_compact_token_representation.sh https://huggingface.co/nvan15/OminiControlRotation/resolve/main/train/script/train_compact_token_representation.sh
418 Bytes
| # *[Specify the config file path and the GPU devices to use] | |
| # export CUDA_VISIBLE_DEVICES=0,1 | |
| # *[Specify the config file path] | |
| export OMINI_CONFIG=./train/config/compact_token_representation.yaml | |
| # *[Specify the WANDB API key] | |
| # export WANDB_API_KEY='YOUR_WANDB_API_KEY' | |
| echo $OMINI_CONFIG | |
| export TOKENIZERS_PARALLELISM=true | |
| accelerate launch --main_process_port 41353 -m omini.train_flux.train_spatial_alignment |