I followed the instructions on the website How to apply your AI model – Realtek IoT/Wi-Fi MCU Solutions
copied/replaced the “.nb” file into the project folder.
For Windows users:
C:\Users\USERNAME\AppData\Local\Arduino15\packages\realtek\hardware\AmebaPro2\VERSION\libraries\NeuralNetwork\examples
- Or a user-customized project folder containing the “.ino” file.
However, when I attempted to compile and selected the flash option, I encountered the following error:
Model (.nb file) missing or customized model name mismatch. Please include your customized model in sketch folder or rename your model if it is already in sketch folder.
exit status 1
Compilation error: exit status 1
My code is
ObjDet.modelSelect(OBJECT_DETECTION, CUSTOMIZED_YOLOV7TINY, NA_MODEL, NA_MODEL);
and I have confirmed that yolov7_tiny.nb
has been placed in the sketch folder.
Am I missing something?