Open Jalilnkh opened 7 months ago
All you need to do is add ' --use-env' before your python file. Like this:
~/miniconda3/envs/mae/lib/python3.11/site-packages/torch/distributed/launch.py --nproc_per_node=1 --use_env ./run_mae_pretraining.py --data_path "" --mask_ratio 0.75 --model pretrain_mae_base_patch16_224 --batch_size 8 --opt adamw --opt_betas 0.9 0.95 --warmup_epochs 40 --epochs 1600 --output_dir ""
Running your code I faced with this problem. I check your code and see that you have local_rank instead. So please correct this error.