Traceback (most recent call last):
File "D:\遥感\code\LSKNet-main\tools\test.py", line 263, in
main()
File "D:\遥感\code\LSKNet-main\tools\test.py", line 245, in main
dataset.format_results(outputs, **kwargs)
File "d:\遥感\code\lsknet-main\mmrotate\datasets\dota.py", line 327, in format_results
id_list, dets_list = self.merge_det(results, nproc)
^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
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?
Traceback (most recent call last):
File "D:\遥感\code\LSKNet-main\tools\test.py", line 263, in
main()
File "D:\遥感\code\LSKNet-main\tools\test.py", line 245, in main
dataset.format_results(outputs, **kwargs)
File "d:\遥感\code\lsknet-main\mmrotate\datasets\dota.py", line 327, in format_results
id_list, dets_list = self.merge_det(results, nproc)
^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
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?
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
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
main()
File "D:\遥感\code\LSKNet-main\tools\test.py", line 245, in main
dataset.format_results(outputs, **kwargs)
File "d:\遥感\code\lsknet-main\mmrotate\datasets\dota.py", line 327, in format_results
id_list, dets_list = self.merge_det(results, nproc)
^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
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
main()
File "D:\遥感\code\LSKNet-main\tools\test.py", line 245, in main
dataset.format_results(outputs, **kwargs)
File "d:\遥感\code\lsknet-main\mmrotate\datasets\dota.py", line 327, in format_results
id_list, dets_list = self.merge_det(results, nproc)
^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 0)
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?