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
I changed .cfg file for small objects like here: https://github.com/AlexeyAB/darknet#how-to-improve-object-detection
and when I run python save_model.py --model yolov4 , I got this error:
File "/content/yolov4-deepsort/core/utils.py", line 63, in load_weights
conv_weights = conv_weights.reshape(conv_shape).transpose([2, 3, 1, 0])
ValueError: cannot reshape array of size 8192 into shape (24,1024,1,1)
I suggest updating the repo as we can add the cfg file path and the algorithm gets all the parameters there.
The text was updated successfully, but these errors were encountered:
I changed .cfg file for small objects like here: https://github.com/AlexeyAB/darknet#how-to-improve-object-detection
and when I run
python save_model.py --model yolov4
, I got this error:File "/content/yolov4-deepsort/core/utils.py", line 63, in load_weights
conv_weights = conv_weights.reshape(conv_shape).transpose([2, 3, 1, 0])
ValueError: cannot reshape array of size 8192 into shape (24,1024,1,1)
I suggest updating the repo as we can add the cfg file path and the algorithm gets all the parameters there.
The text was updated successfully, but these errors were encountered: