ZED 2i Docker Issue: Optimized Neural Weights Not Found After Running ZED_Diagnostic

Dear Stereolabs Team,

Hi, we are experiencing an issue while using the ZED 2i camera, and we would like to share it in this forum.

When we build the Docker image, we run the following command:

ZED_Diagnostic -nrlo

It seems to work correctly and optimizes the neural weights as expected. However, the problem appears when we try to use the camera afterward. The library output indicates that it cannot find the optimized weights, so it starts the optimization process again.

Could you please help us understand why the optimized weights are not being detected after running ZED_Diagnostic -nrlo in the Dockerfile?

Thank you in advance.

Hi @JoyBoy-IA
Welcome to the StereoLabs community… I love your avatar image :slight_smile:

When the Docker image is restarted, the optimized models are deleted, so a new download and optimization are required. You must add a shared volume as described here: