Closed Pluviophile-sy closed 8 months ago
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
master branch https://github.com/open-mmlab/mmrotate
cuda==11.1 python==3.8.0 torch==1.8.1+cu111 mmcv-full==1.6.0 mmde==2.25.1 mmrotate==0.3.4
TypeError: FormatCode() got an unexpected keyword argument 'verify' subprocess.CalledProcessError: Command '['/root/miniconda3/bin/python', '-u', './LSKNet/tools/train.py', '--local_rank=1', 'LSKNet/configs/lsknet/lsk_s_fpn_1x_dota_le90.py', '--seed', '0', '--launcher', 'pytorch']' returned non-zero exit status 1.
./LSKNet/tools/dist_train.sh LSKNet/configs/lsknet/lsk_s_fpn_1x_dota_le90.py 2
More details are shown in the figure below:
1.I'm training a model with an RTX 4090 cloud server, two cards 2.The dataset I'm using is dota v1.0 This is my first time training a model, and I'd love to hear from you to help me solve the problem and point out my shortcomings
Try uninstall 'yapf ' and then pip install yapf==0.40.1
尝试卸载“yapf”,然后 pip install yapf==0.40.1
According to your approach, this issue has been resolved, much appreciated!
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmrotate
Environment
cuda==11.1 python==3.8.0 torch==1.8.1+cu111 mmcv-full==1.6.0 mmde==2.25.1 mmrotate==0.3.4
Reproduces the problem - code sample
TypeError: FormatCode() got an unexpected keyword argument 'verify' subprocess.CalledProcessError: Command '['/root/miniconda3/bin/python', '-u', './LSKNet/tools/train.py', '--local_rank=1', 'LSKNet/configs/lsknet/lsk_s_fpn_1x_dota_le90.py', '--seed', '0', '--launcher', 'pytorch']' returned non-zero exit status 1.
Reproduces the problem - command or script
./LSKNet/tools/dist_train.sh LSKNet/configs/lsknet/lsk_s_fpn_1x_dota_le90.py 2
Reproduces the problem - error message
More details are shown in the figure below:
Additional information
1.I'm training a model with an RTX 4090 cloud server, two cards 2.The dataset I'm using is dota v1.0 This is my first time training a model, and I'd love to hear from you to help me solve the problem and point out my shortcomings