-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Description
Hi there
I need some help. Before explaining problem I share some information about my environment.
OS: mac os
Python: 3.8
Tensorflow: 2.4.0
Keras: 2.4.3
When I use the convert.py to convert the darknet weights to yolo h5 , I get the following error:
「TypeError: buffer is too small for requested array」
error code:
conv_weights = np.ndarray(shape=darknet_w_shape,dtype='float32',buffer=weights_file.read(weights_size * 4))
I'm not sure what caused it, but did anyone make the switch?
Metadata
Metadata
Assignees
Labels
No labels