CSI Camera freezes every time I try image classification

Hi @jdwwhetten2, can you try the suggestions from this post:

https://forums.developer.nvidia.com/t/camera-freezes-in-image-classification/158686/9

Namely, since you already have lots of SWAP mounted, try adding --memory=500M --memory-swap=8G to your docker run script.

Also, try disabling the X-server from starting and also disable ZRAM which can save memory. Use these commands and reboot:

$ sudo systemctl set-default multi-user.target
$ sudo systemctl disable nvzramconfig

Here are the commands to disable/re-enable it: xorg - How to disable GUI on boot in 18.04 (Bionic Beaver)? - Ask Ubuntu

Baring that, if you still can’t get it working, you may try a USB camera like Logitech C270 or C920, as these use less memory than MIPI CSI camera.

1 Like