hunglc007 / tensorflow-yolov4-tflite

YOLOv4, YOLOv4-tiny, YOLOv3, YOLOv3-tiny Implemented in Tensorflow 2.0, Android. Convert YOLO v4 .weights tensorflow, tensorrt and tflite
https://github.com/hunglc007/tensorflow-yolov4-tflite
MIT License
2.24k stars 1.24k forks source link

File "C:\Users\saran\Documents\Repositories\tensorflow-yolov4-tflite-master\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 770091 into shape (256,384,3,3) #326

Closed sarangtamrakar closed 3 years ago

sarangtamrakar commented 3 years ago

getting this error while converting yolov4 tiny model into .pb

shitijkarsolia commented 3 years ago

https://github.com/hunglc007/tensorflow-yolov4-tflite/issues/147#issuecomment-742691380 https://github.com/hunglc007/tensorflow-yolov4-tflite/issues/147#issuecomment-718817567

sarangtamrakar commented 3 years ago

I am able to resolved the proble by doing the changes in core/config file

hibaalqaysi commented 3 years ago

I am able to resolved the proble by doing the changes in core/config file

Hi @sarangtamrakar , what changes you made to your config file, other than the path to custom.names?

Pratyaksha-047 commented 2 years ago

Hi, can you please what changes have you made to config file, other than path to classes.txt. I am using YoloV3 darknet model