You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the error comes from the inconsistent parameters that torch.distributed is passing to the train.py.
The argument --local_rank should be renamed to --local-rank.
Suggested fix: train.py line 36
parser.add_argument('--local-rank', type=int, default=0, help='local rank for distributed training')
The text was updated successfully, but these errors were encountered:
When running the command
sh scripts/dist_train.sh 4 --cfg_file ...
I get the following error.
It seems that the error comes from the inconsistent parameters that
torch.distributed
is passing to thetrain.py
.The argument
--local_rank
should be renamed to--local-rank
.Suggested fix:
train.py
line 36The text was updated successfully, but these errors were encountered: