Hi all,
I'm having trouble deploying a custom YOLOv6n .rvc4.tar.xz model on our Luxonis OAK4-D R2 camera using oakctl.. Despite successfully transferring the model to the camera's/data/ directory and verifying the exact file path, the app consistently fails with a file-not-found error.
What I've done:
1 . I copied the model file to the camera using:
scp yolov6n-r2-288x512.rvc4.tar.xz root@<192.168.1.118>:/data/
- I confirmed via ssh that the file exists:
ssh root@<192.168.1.118>
ls /data
3.My Python script references the model like this:
nn_archive = dai.NNArchive("/data/yolov6n-r2-288x512.rvc4.tar.xz")
4.When I run: oakctl run .
cp: cannot stat '/data/yolov6n-r2-288x512.rvc4.tar.xz': No such file or directory
Failed to read develop logs. Reason: Error BuilderError(...)
The model is definitely present on the device and in the correct folder (/data/).
The filepath in the code matches exactly.
SSH access to the file works just fine.
The app builds successfully otherwise, but fails during the develop container startup.
Should I move the model to another directory that is guaranteed to be visible to the container?
Any help or insight would be appreciated. I'm happy to share additional information if needed!
- Badri Pratti