Skip to content

Commit

Permalink
docs: 📝 add example script for distributed training
Browse files Browse the repository at this point in the history
  • Loading branch information
chaofengc committed May 30, 2024
1 parent 036f2cc commit 18f123e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ python pyiqa/train.py -opt options/train/DBCNN/train_DBCNN.yml
python pyiqa/train_nsplits.py -opt options/train/DBCNN/train_DBCNN.yml
```

Example for distributed training
```
torchrun --nproc_per_node=2 --master_port=4321 pyiqa/train.py -opt options/train/CLIPIQA/train_CLIPIQA_koniq10k.yml --launcher pytorch
```

## :beers: Contribution

Expand Down

0 comments on commit 18f123e

Please sign in to comment.