dawn-ech / YOLC

[TITS 2024] You Only Look Clusters for Tiny Object Detection in Aerial Images
https://arxiv.org/abs/2404.06180
Apache License 2.0
47 stars 13 forks source link

关于推理测试过程中缺少参数的问题? #5

Closed cenchaojun closed 3 weeks ago

cenchaojun commented 3 weeks ago

Traceback (most recent call last): File "/data3/testdata/ccj/code/YOLC/test_ob.py", line 288, in main() File "/data3/testdata/ccj/code/YOLC/test_ob.py", line 244, in main outputs = single_gpu_test(model, data_loader, args.show, args.show_dir, File "/data3/testdata/ccj/code/YOLC/mmdetection/mmdet/apis/test.py", line 49, in single_gpu_test out_file = osp.join(out_dir, img_meta['ori_filename']) KeyError: 'ori_filename'

您好,在进行推理的时候发现出现这样一个错误,请问这是什么原因呢。

dawn-ech commented 3 weeks ago

参考这个问题 ,测试时参数只用--eval bbox,不需要其他参数可以正常推理

cenchaojun commented 3 weeks ago

参考这个问题 ,测试时参数只用--eval bbox,不需要其他参数可以正常推理

谢谢您及时回复,已经修改好了。