mmrotate
mmrotate copied to clipboard
id_list, dets_list = self.merge_det(results, nproc) ValueError: not enough values to unpack (expected 2, got 0)
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] I have read the FAQ documentation but cannot get the expected help.
- [X] The bug has not been fixed in the latest version (master) or latest version (1.x).
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
install all the requirement as the writer says.
Reproduces the problem - code sample
python ./tools/test.py configs/lsknet/lsk_s_ema_fpn_1x_dota_le90.py checkpoints/lsk_s_ema_fpn_1x_dota_le90_20230212-30ed4041.pth --format-only --eval-options submission_dir=work_dirs/Task1_results
Traceback (most recent call last):
File "D:\遥感\code\LSKNet-main\tools\test.py", line 263, in
Reproduces the problem - command or script
I have change the data root and test the DOTA dataset as the way which the writer has wrote in the readme. But the problem happens as mentioned above,if anyone can help me?
Reproduces the problem - error message
python ./tools/test.py configs/lsknet/lsk_s_ema_fpn_1x_dota_le90.py checkpoints/lsk_s_ema_fpn_1x_dota_le90_20230212-30ed4041.pth --format-only --eval-options submission_dir=work_dirs/Task1_results
Traceback (most recent call last):
File "D:\遥感\code\LSKNet-main\tools\test.py", line 263, in
Additional information
I have change the data root and test the DOTA dataset as the way which the writer has wrote in the readme. But the problem happens as mentioned above,if anyone can help me?
请问您解决了吗?
请问您解决了吗?
看看你data_root的路径是否正确 你这是没有读到test中的images
For me, I had to change the data_root
path in model config file in config/<model_name>.py to solve it. It was quite a headache for me to figure it out as well.