版本信息
cuda 版本 Jetpack 版本 cudnn 版本
nvcc -V 10.2
cat /etc/nv_tegra_release
cat /usr/include/cudnn_version.h | grep CUDNN_MAJOR -A 2 8.2.1
查看 内核 磁盘 内存 系统 情况
uname -a
df -lh
free -m
cat /etc/lsb-release
jtop 使用
pip3 install protobuf
sudo pip3 install -U jetson-stats
sudo jtop
风扇调节
sudo /usr/bin/jetson_clocks
cat /sys/devices/pwm-fan/target_pwm
修改为工作模式0,重启后保持
sudo nvpmodel -m 0
查询当前模式
sudo nvpmodel -q verbose
查询cpu/gpu的cur、min、max频率,cpu在线数量
sudo jetson_clocks --show
python 版本管理
whereis python3.8
sudo update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.8 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2
sudo update-alternatives --config python3
whereis pip3.8
sudo update-alternatives --install /usr/bin/pip3 pip3 /usr/local/bin/pip3.8 1
sudo update-alternatives --config pip3
设置开机自动启动wifi 模式
# 写一个脚本
touch ~/script/connect_wifi.sh
vi connect_wifi.sh
#!/bin/bash
# 设置无线网络的SSID和密码
SSID="Your_WiFi_SSID"
PASSWORD="Your_WiFi_Password"
# 尝试连接无线网络
nmcli device wifi connect "$SSID" password "$PASSWORD"
chmod a+x connect_wifi.sh
# 添加到开机启动项
touch /etc/rc.local
问题:
jetson@ubuntu:/etc/ld.so.conf.d$ whereis libpython3.8.so.1.0
libpython3.8.so.1: /usr/lib/libpython3.8.so.1.0 /usr/local/lib/libpython3.8.so.1.0
cd /etc/ld.so.conf.d
sudo touch python3.conf
vi python3.conf
/usr/local/lib/python3.8/
$ lsb_release -a
Traceback (most recent call last):
File “/usr/bin/lsb_release”, line 25, in # 这个路径很重要
import lsb_release
ModuleNotFoundError: No module named ‘lsb_release’
sudo cp /usr/lib/python3/dist-packages/lsb_release.py /usr/bin/
ERROR: virtualenvwrapper could not find virtualenv in your path
vi ~/.bashrc
VIRTUALENVWRAPPER_VIRTUALENV=/home/YOUR_USERNAME/.local/bin/virtualenv
source ~/.bashrc
python3 setup.py install --user
Error:llegal instruction (core dumped)
更换 numpy 包
https://forums.developer.nvidia.com/t/illegal-instruction-core-dumped/165488
https://blog.csdn.net/cau_weiyuhu/article/details/128026029