BasicSR
BasicSR copied to clipboard
train.py: error: unrecognized arguments: --local-rank=0
unable to run train.py, I get error
train.py: error: unrecognized arguments: --local-rank=0
I'm not manually passing this parameter.
You need to change your PyTorch version from 2.0 to 1.x because the launch.py in 2.0 uses 'local_rank' instead of 'local-rank'.