mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-19 01:29:24 +01:00
6 lines
268 B
Bash
6 lines
268 B
Bash
PYTHONPATH=. python -m torch.distributed.launch --nproc_per_node=2 \
|
|
examples/pytorch/image_classification/finetune_image_classification.py \
|
|
--num_classes 2 \
|
|
--train_dataset_name 'tany0699/cats_and_dogs' \
|
|
--val_dataset_name 'tany0699/cats_and_dogs'
|