Qengineering / Jetson-Nano-image

Jetson Nano image with deep learning frameworks
https://qengineering.eu/install-tensorflow-2.4.0-on-jetson-nano.html
BSD 3-Clause "New" or "Revised" License
118 stars 23 forks source link

how to delete tensorflow #18

Open shanchuanH opened 2 years ago

shanchuanH commented 2 years ago

Since my project only uses pytorch and my sd card is 32 GB, so I'd like to delete the tensorflow and other libraries that I dont need. My question is: how to delete those libraries safely?

Qengineering commented 2 years ago
$ sudo pip3 uninstall tensorflow
$ sudo pip3 uninstall tensorflow_addons
$ sudo rm -rf /usr/local/lib/ncnn
$ sudo rm -rf /usr/local/include/ncnn
$ sudo rm -rf ~/ncnn
$ sudo rm -rf /usr/local/include/MNN
$ sudo rm -rf /usr/local/lib/libMNN*.*
$ sudo rm -rf ~/mnn

You will need probably OpenCV, so leave it. (600 MB) JTOP is only a few MB, don't bother.