Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: buffer is too small for requested array #13

Open
senlin-ali opened this issue Jul 1, 2020 · 4 comments
Open

TypeError: buffer is too small for requested array #13

senlin-ali opened this issue Jul 1, 2020 · 4 comments

Comments

@senlin-ali
Copy link

senlin-ali commented Jul 1, 2020

Layer of type maxpool not supported, skipping ONNX node generation.
Layer of type maxpool not supported, skipping ONNX node generation.
Layer of type maxpool not supported, skipping ONNX node generation.
Layer of type yolo not supported, skipping ONNX node generation.
Layer of type yolo not supported, skipping ONNX node generation.
Layer of type yolo not supported, skipping ONNX node generation.
Traceback (most recent call last):
File "create_onnx.py", line 772, in
main()
File "create_onnx.py", line 760, in main
verbose=True)
File "create_onnx.py", line 392, in build_onnx_graph
params)
File "create_onnx.py", line 269, in load_conv_weights
conv_params, 'conv', 'weights')
File "create_onnx.py", line 298, in _create_param_tensors
conv_params, param_category, suffix)
File "create_onnx.py", line 328, in _load_one_param_type
buffer=self.weights_file.read(param_size * 4))
TypeError: buffer is too small for requested array

@Rapternmn
Copy link
Owner

Hii, what is the onnx version?

@senlin-ali
Copy link
Author

Hii, what is the onnx version?

hi 1.7.0

@senlin-ali
Copy link
Author

hi there is another problem ,my weight is '.pt',not .weight ; is this ok?

@Rapternmn
Copy link
Owner

Please follow the README Instructions for getting it up and running
Onnx 1.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants