YOLOv4, YOLOv4-tiny, YOLOv3, YOLOv3-tiny Implemented in Tensorflow 2.0, Android. Convert YOLO v4 .weights tensorflow, tensorrt and tflite
2.23k
stars
1.24k
forks
source link
weight issue while working on test code #453
Open
sphill98 opened 2 years ago
I got error message below
tensorflow-yolov4-tflite/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 421 into shape (32,3,3,3)
I used yolov4.weights and coco.names. I did not change anything, but there exists error. How can I fix this?