How to convert list to <class 'detectron2.structures.boxes.Boxes'> #3674
Unanswered
ashutoshbk
asked this question in
Q&A
Replies: 1 comment
-
also how can we modify detectron2.structures.boxes.Boxes like append or remove etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
how can convert list to detectron2.structures.boxes.Boxes format or how can convert tensor to detectron2.structures.boxes.Boxes format:
pred_boxes = (outputs['instances'].pred_boxes).__dict__['tensor'].tolist()
print(type(pred_boxes)) #ouput <class 'list'>
Beta Was this translation helpful? Give feedback.
All reactions