-
Notifications
You must be signed in to change notification settings - Fork 443
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
ValueError: [MAIXPY]kpu: region_layer_init err! #465
Comments
Hi! |
Oh! That might explain it, How do I get aXeleRate to use YOLOv2 instead? Edit: I see now, I need to branch out from the repo. Will try that. |
The best course for you is to train a model with legacy aXeleRate - you can do that by switching to legacy-yolov2 branch in Colab notebook right after cloning the repository. If I understand correctly, just normally install aXeleRate and then switch branches to run the software? |
If you're running locally, then git clone, switch the branch and then install with |
Ah I see, yes I forked the repo and cloned it locally. Thanks for the advice, I'll let you know how it goes. Installation of aXeleRate 0.7.6 was succesfull, I'll get the model built tonight so I can get back to you tomorrow |
After changing the KPU code lines to the current ones visible in https://github.com/AIWintermuteAI/aXeleRate/blob/master/example_scripts/k210/classifier/santa_uno.py |
Describe the bug
I am trying to use a selfbuilt kmodel on my Maixduino using MaixPy. I solved most compatibility errors. The kmodel has version 3.
While starting the model the program stops and yields this error message:
ValueError: [MAIXPY]kpu: region_layer_init err!
Expected behavior
I expected the model to load properly.
Actual behaviour
The program terminates without loading the kmodel
Screenshots

Please complete the following information
kmodel v3 converted using sipeed ncc
class.zip
tflite model made with axelerate
class (2).zip
@AIWintermuteAI
The text was updated successfully, but these errors were encountered: