MCG-NJU / TRACE

[ICCV 2021] Target Adaptive Context Aggregation for Video Scene Graph Generation
Other
58 stars 5 forks source link

ValueError:axes don't match array #15

Open Fillip1233 opened 1 year ago

Fillip1233 commented 1 year ago

Hello, the author, thank you very much for your excellent work of open source. When I used the pre training model to test, I encountered the following problems. How can I solve them? I want to evaluate for detected boxes, Recalls (SGDet) dataset AG

5d54ed2489f1b31c81b3f95f0caad83
tyshiwo1 commented 1 year ago

Sorry for replying late. This problem may be caused by the fact that 'frames_blob' doesn't have any elements. You may check this array.

tyshiwo1 commented 1 year ago

https://github.com/MCG-NJU/TRACE/blob/eb00b72f2ba08561618d944e08b0eab1965639e3/lib/core/test_engine_rel.py#L478

tyshiwo1 commented 1 year ago

https://github.com/MCG-NJU/TRACE/blob/eb00b72f2ba08561618d944e08b0eab1965639e3/lib/core/test_engine_rel.py#L470 Maybe this line is activated