Ma-Dan / keras-yolo4

A Keras implementation of YOLOv4 (Tensorflow backend)
MIT License
381 stars 175 forks source link

TypeError: buffer is too small for requested array #2

Closed saanuregh closed 4 years ago

saanuregh commented 4 years ago

Loading weights. Weights Header: 1329865020 1348031555 1952981061 [1010723949] Converting 0 Traceback (most recent call last): File "convert.py", line 173, in yolo4_model = Yolo4(score, iou, anchors_path, classes_path, model_path, weights_path) File "convert.py", line 157, in init self.load_yolo() File "convert.py", line 130, in load_yolo buffer=weights_file.read(weights_size * 4)) TypeError: buffer is too small for requested array

saanuregh commented 4 years ago

file didnt download properly fixed

vihari1729 commented 4 years ago

@saanuregh Did you able to solve the error?. If yes, Kindly provide the solution I am also getting the same error when converting yolo-custom weights to keras model

saanuregh commented 4 years ago

@vihari1729 it was just a download error