I am using a ZED 2 with a Seeed Studios ReComputer J3010 (basically an NVIDIA Jetson). The Jetson runs Ubuntu 20.04.5. For security reasons I am not allowed to connect the Jetson to the internet at all. I installed the ZED SDK for Jetpack 5.1.1 via USB stick, and thereafter installed all the dependencies needed to launch the Zed apps like explorer and depth viewer the same way.
While depth viewer launches, I immediately get the error “Failed to download model. NEURAL mode won’t be available”. As I understand it, depth viewer is trying to grab the image processing model from the internet, and cannot because the Jetson isn’t connected to the network. I am wondering if there is a way to get NEURAL and the other image processing models for depth and tracking via flash drive, so I can use these functionalities. Thanks for the help!
It’s not very straightforward, but you can install the same ZED SDK Version on a PC connected to the internet (it doesn’t have to have a nvidia GPU), or download a Docker image. You can skip the installation of the optional elements; you will only need the ZED Diagnostic tool.
Then run the tool with “-aid” option to download all the AI models for this ZED SDK Version.
$ ZED_Diagnostic -aid
On Linux the model will be in /usr/local/zed/resources/ you can transfer them on the Jetson. (On Windows C:/ProgramData/Stereolabs/resources/)
Alternatively, you can use this script; the model URLs are hardcoded and are specific for a given ZED SDK version, currently 4.1/4.2: Download ZED SDK **4.1** models · GitHub
A few things to note:
Models can change between ZED SDK version, make sure it matches
Some older targets may have a fallback model for compatibility reasons; the SDK may still complain it can’t download it if the PC doesn’t have the restriction (typically older Jetpack with old TensorRT).
Thanks for the help. I got the SDK for windows on a connected machine, and now I’m trying to run the diagnostic tool with that ‘-aid’ flag. I can get it to run from powershell without the flag, but when I include -aid, it just doesn’t run. I tried with and without quote marks. Perhaps there’s a different flag for windows vs linux systems?
I just tried it, unfortunately it does the same thing. I also tried using the ‘start’ command instead, that opens a window but it immediately closes and nothing further happens. Once again if I leave out the -aid tag, the diagnostic tool opens without issue.
Gotcha, I kinda figured that might be an issue. I’m going to request my organization for approval to install CUDA, once I’ve got that I’ll try the process again.
So, I got the correct version of CUDA installed, but the same problem is happening. Nothing launches, just get a new line in the terminal. This is a weird problem…