You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use your pytorch2onnx.py to convert onnx and the error is as follows:
File "/media/xin/work1/github_pro/BHRL/mmdet/models/detectors/base.py", line 168, in forward
return self.onnx_export(img[0], img_metas[0])
File "/media/xin/work1/github_pro/BHRL/mmdet/models/detectors/two_stage.py", line 194, in onnx_export
x = self.extract_feat(img)
File "/media/xin/work1/github_pro/BHRL/mmdet/models/detectors/bhrl.py", line 49, in extract_feat
rf_feat = img[1]
IndexError: index 1 is out of bounds for dimension 0 with size 1
Please give me an answer, thank you
The text was updated successfully, but these errors were encountered:
Use your pytorch2onnx.py to convert onnx and the error is as follows:
File "/media/xin/work1/github_pro/BHRL/mmdet/models/detectors/base.py", line 168, in forward
return self.onnx_export(img[0], img_metas[0])
File "/media/xin/work1/github_pro/BHRL/mmdet/models/detectors/two_stage.py", line 194, in onnx_export
x = self.extract_feat(img)
File "/media/xin/work1/github_pro/BHRL/mmdet/models/detectors/bhrl.py", line 49, in extract_feat
rf_feat = img[1]
IndexError: index 1 is out of bounds for dimension 0 with size 1
Please give me an answer, thank you
The text was updated successfully, but these errors were encountered: