I execute:
python3 load_weights.py --weights ./weights/yolov3-voc_custom.weights --output ./weights/yolov3-custom.tf --num_classes 8
But I got the following error:
bn_weights = bn_weights.reshape((4, filters))[[1, 0, 2, 3]]
ValueError: cannot reshape array of size 28 into shape (4,32)
I execute: python3 load_weights.py --weights ./weights/yolov3-voc_custom.weights --output ./weights/yolov3-custom.tf --num_classes 8
But I got the following error: bn_weights = bn_weights.reshape((4, filters))[[1, 0, 2, 3]] ValueError: cannot reshape array of size 28 into shape (4,32)
Is there a solution?