Closed abbasmammadov closed 2 years ago
Hi @abbasmammadov , I'm sorry for the bug. Actually, although there is a "save_results" option, we never used it. We may support "save_results" in the next version of our code.
Ohh, I see. Thank you very much for your clear and prompt reply :)
I have tried --save_results feature with several datasets, but it triggers an issue that outputs['pred_boxes'][0] has a shape of (900, 4) but results[0]['scores'] and results[0]['labels'] have shapes of (300). Since save_results concatenates those by unsqueezeing latter 2 on dim=-1, the error occurs here. I tried with several models and custom datasets but the error looks inevitable. Can you please consider this issue? Thanks in advance!