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

Can't import yolov8 #10021

Open
huzpsb opened this issue Aug 6, 2023 · 4 comments
Open

Can't import yolov8 #10021

huzpsb opened this issue Aug 6, 2023 · 4 comments
Labels
Onnx Onnx import related issues

Comments

@huzpsb
Copy link

huzpsb commented Aug 6, 2023

Unable to resolve attribute for name auto_pad for node Conv for op type Conv
Unable to resolve attribute for name dilations for node MaxPool for op type MaxPool
Skipping input B on node /model.22/dfl/conv/Conv

These console logs exist when I import yolov8x.onnx, is it normal and can be ignore? Thanks.

model link:
https://huggingface.co/spaces/Booker8/ll/resolve/main/yolov8x.zip

@agibsonccc agibsonccc added the Onnx Onnx import related issues label Aug 7, 2023
@agibsonccc
Copy link
Contributor

@huzpsb I'll need to check with the latest version. There's quite a bit of work that went in to the newest release + model import. I believe we should be ok here though. Thanks for filing!

@fizlrock
Copy link

fizlrock commented Apr 6, 2024

I'm facing the same problem. Are there any solutions? Or another way to load Yolov8?

@huzpsb
Copy link
Author

huzpsb commented Apr 7, 2024

I'm facing the same problem. Are there any solutions? Or another way to load Yolov8?

Try Python + RESTful apis. :/
A quick work-around

@agibsonccc
Copy link
Contributor

@huzpsb @fizlrock I need to publish a release. Part of that will be a CLI tool for conversion. If you want to run python and control it you can try the python4j module which can help with that.

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

No branches or pull requests

3 participants