Swin-Transformer icon indicating copy to clipboard operation
Swin-Transformer copied to clipboard

Swin Transformer training and evaluation script: error: the following arguments are required: --local_rank

Open hailuoS opened this issue 6 months ago • 5 comments

Hello, I used the following command to train "python -m torch.distributed.launch --nproc_per_node 8 --master_port 12345 main.py --cfg configs/swin/swin_tiny_patch4_window7_224.yaml --batch-size 128 --fused_window_process --fused_layernorm --optim=fused_adam --data-path /home/datasets/imagenet" but got "Swin Transformer training and evaluation script: error: the following arguments are required: --local_rank",how can I fix this problem, thanks

hailuoS avatar Dec 19 '23 09:12 hailuoS