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
Traceback (most recent call last):
File "/content/drive/My Drive/Object-Detection-and-Tracking-master/OneStage/yolo/deep_sort_yolov4/main.py", line 199, in
main(YOLO())
File "/content/drive/My Drive/Object-Detection-and-Tracking-master/OneStage/yolo/deep_sort_yolov4/yolo.py", line 25, in init
self.boxes, self.scores, self.classes = self.generate()
File "/content/drive/My Drive/Object-Detection-and-Tracking-master/OneStage/yolo/deep_sort_yolov4/yolo.py", line 46, in generate
self.yolo_model = load_model(model_path, custom_objects={'Mish': Mish}, compile=False)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/saving.py", line 492, in load_wrapper
return load_function(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/saving.py", line 584, in load_model
model = _deserialize_model(h5dict, custom_objects, compile)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/saving.py", line 273, in _deserialize_model
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/content/drive/My Drive/Object-Detection-and-Tracking-master/OneStage/yolo/deep_sort_yolov4/main.py", line 199, in
main(YOLO())
File "/content/drive/My Drive/Object-Detection-and-Tracking-master/OneStage/yolo/deep_sort_yolov4/yolo.py", line 25, in init
self.boxes, self.scores, self.classes = self.generate()
File "/content/drive/My Drive/Object-Detection-and-Tracking-master/OneStage/yolo/deep_sort_yolov4/yolo.py", line 46, in generate
self.yolo_model = load_model(model_path, custom_objects={'Mish': Mish}, compile=False)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/saving.py", line 492, in load_wrapper
return load_function(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/saving.py", line 584, in load_model
model = _deserialize_model(h5dict, custom_objects, compile)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/saving.py", line 273, in _deserialize_model
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'
The text was updated successfully, but these errors were encountered: