-
Notifications
You must be signed in to change notification settings - Fork 38
/
train.sh
31 lines (28 loc) · 1.25 KB
/
train.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
export NCCL_LL_THRESHOLD=0
# wavevit_s
python3 -m torch.distributed.launch \
--nproc_per_node=8 \
--nnodes=1 \
--node_rank=0 \
--master_addr="localhost" \
--master_port=12346 \
--use_env main.py --config configs/wavevit/wavevit_s.py --data-path /export/home/dataset/imagenet --epochs 310 --batch-size 128 \
--token-label --token-label-size 7 --token-label-data /export/home/dataset/imagenet/label_top5_train_nfnet
# wavevit_b
# python3 -m torch.distributed.launch \
# --nproc_per_node=8 \
# --nnodes=1 \
# --node_rank=0 \
# --master_addr="localhost" \
# --master_port=12346 \
# --use_env main.py --config configs/wavevit/wavevit_b.py --data-path /export/home/dataset/imagenet --epochs 310 --batch-size 128 \
# --token-label --token-label-size 7 --token-label-data /export/home/dataset/imagenet/label_top5_train_nfnet
# wavevit_l
# python3 -m torch.distributed.launch \
# --nproc_per_node=8 \
# --nnodes=1 \
# --node_rank=0 \
# --master_addr="localhost" \
# --master_port=12346 \
# --use_env main.py --config configs/wavevit/wavevit_l.py --data-path /export/home/dataset/imagenet --epochs 310 --batch-size 128 \
# --token-label --token-label-size 7 --token-label-data /export/home/dataset/imagenet/label_top5_train_nfnet