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
File "test.py", line 8, in <module>
for image, bboxes in wrapper.detect_from_webcam(0): # Gets detection and image from the usb camera with id 0
File "/home/jetson/jetson_yolov5_tensorrt/yolov5_trt/trt_wrapper.py", line 158, in detect_from_webcam
for image, bboxes in self.detect_from_video(cap):
File "/home/jetson/jetson_yolov5_tensorrt/yolov5_trt/trt_wrapper.py", line 146, in detect_from_video
with self.create_session() as session:
File "/home/jetson/jetson_yolov5_tensorrt/yolov5_trt/trt_wrapper.py", line 44, in __enter__
self.context = self.engine.create_execution_context()
AttributeError: 'NoneType' object has no attribute 'create_execution_context'
The text was updated successfully, but these errors were encountered:
Probably something is wrong with the model deserialization, that's happening here. You may check TensorRT docs for this method, I think that is a problem with the model conversion.
HI
any idea what is the problem
The text was updated successfully, but these errors were encountered: