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

Add yolov11 #1594

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add yolov11 #1594

wants to merge 1 commit into from

Conversation

JohnnyHopp
Copy link
Contributor

Yolov11 is implemented, which is exported with opset=17. #1569

The default model is yolo11x, which can be loaded by ailia and run properly.

However, all other models 11n, 11s, 11m and 11l have some issues when loaded by ailia, the error prints as below. I tried to run with onnxruntime, there's no problem. A little bit weird...

 INFO arg_utils.py (13) : Start!
 INFO arg_utils.py (163) : env_id: 1
 INFO arg_utils.py (166) : CPU-IntelMKL
 INFO model_utils.py (89) : ONNX file and Prototxt file are prepared!
Traceback (most recent call last):
  File "/mnt/d/ax/ailia-models/object_detection/yolov11/yolov11.py", line 376, in <module>
    main()
 INFO model_utils.py (89) : ONNX file and Prototxt file are prepared!
Traceback (most recent call last):
  File "/mnt/d/ax/ailia-models/object_detection/yolov11/yolov11.py", line 376, in <module>
    main()
Traceback (most recent call last):
  File "/mnt/d/ax/ailia-models/object_detection/yolov11/yolov11.py", line 376, in <module>
    main()
  File "/mnt/d/ax/ailia-models/object_detection/yolov11/yolov11.py", line 360, in main
    main()
  File "/mnt/d/ax/ailia-models/object_detection/yolov11/yolov11.py", line 360, in main
  File "/mnt/d/ax/ailia-models/object_detection/yolov11/yolov11.py", line 360, in main
    net = ailia.Net(MODEL_PATH, WEIGHT_PATH, env_id=args.env_id)
  File "/home/jun/miniconda3/lib/python3.10/site-packages/ailia/wrapper.py", line 266, in __init__
    self._open_stream(stream)
  File "/home/jun/miniconda3/lib/python3.10/site-packages/ailia/wrapper.py", line 302, in _open_stream
    core.check_error(code, self.__net)
  File "/home/jun/miniconda3/lib/python3.10/site-packages/ailia/core.py", line 931, in check_error
    raise e(detail)
ailia.core.AiliaBrokenDataException: code: -4 (The specified file was broken.)
+ error detail : unexpected escape sequence:S

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

Successfully merging this pull request may close these issues.

1 participant