Once your Jetson has has been flashed with JetPack or setup with the latest SD card image, you should be able to either run the pre-built Docker container, or compile jetson-inference from source.
In this post, I would like to organize my thoughts on memory optimization in Python, based on the article The Python __slots__ Trick That Cuts Memory Usage Dramatically, and Why Nobody Teaches It in ...