安装相关的依赖库和工具sudo apt-get install libhdf5-serial-dev hdf5-tools zlib1g-dev zip libjpeg8-dev libhdf5-dev python3-pip 系统里面默认是没有python3-pip的,所以需要自己安装。pip的配置修改配置文件cd ~ mkdir .pip vim .pip/pip.conf # 将上述配置内容写入配置文件即可 [global] trusted-host = mirrors.aliyun.com index-url = http://mirrors.aliyun.com/pypi/simple 安装python相关的库sudo pip3 install -U numpy # 需要编译安装,用时很长,所以单独安装 sudo pip3 install -U grpcio absl-py py-cpuinfo psutil portpicker six mock requests gast astor termcolor 如果报这个错Command "python setu
Jetson-nano的系统已经将JetPack,cuda,cudnn,opencv等都已经安装好,不再需要额外的配置,这里简单测试一下。系统里面自带了cudnn的测试程序,在/usr/src/cudnn_samples_v7/目录下,这里用mnistCUDNN程序进行测试。cp -rvf /usr/src/cudnn_samples_v7/mnistCUDNN ~ # 将mnistCUDNN复制到home目录 cd ~/mnistCUDNN make # 编译源代码 chmod a+x mnistCUDNN # 为可执行文件添加执行权限 ./mnistCUDNN # 执行 上述步骤执行后,应该可以看到如下的输出:cudnnGetVersion() : 7301 , CUDNN_VERSION from cudnn.h : 7301 (7.3.1) Host compiler version : GCC 6.4.1 There are 1 CUDA capable devices on your machine : device 0 : sms 1 Capabilities 5.3
jetson nano 官方已经默认安装好了 cuda10.0,也就是最新的,但是直接运行发现不成功,主要是因为cuda没有在系统环境变量中。测试命令nvcc -V加入环境变量sudo vim ~/.bashrcexport CUBA_HOME=/usr/local/cuda-10.0 export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH export PATH=/usr/local/cuda-10.0/bin:$PATH保存退出source一下这个文件source ~/.bashrcCUDA就导入成功了.
只是单纯的想记录一下自己今天很丧,在晚上从工作室走回来的路上不知道为什么就开始丧了起来,突然对什么都没了心劲,什么都不想做,很烦心,想点东西就很心烦只想静静的坐着。感觉自己有点抑郁吧,隔几天就会有一晚上很丧,心情烦躁啥都不想干,干啥都没心劲,就感觉人生一下子失去了目标,感觉被什么东西压着一样。感觉现在这样很累,很累。
jetson nano官方的定制Ubuntu18.04 arm64系统,软件源为国外服务器,网速会很慢,需要换国内的ARM源。备份source.list文件sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak为防止误操作后无法恢复,先备份原文件sources.list更换源sudo vim /etc/apt/sources.list打开sources.list,将原来的内容使用”#”符号全部注释掉,然后在文件结尾出添加中国科学技术大学或清华的源 (我用的是中科大的)清华源deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse deb http://mirror
Windows10内嵌真正的Linux内核在2019年5月6日,微软宣布Windows10内置真正的Linux内核。Windows10内嵌真正的Linux内核How much faster is WSL 2?File intensive operations like git clone, npm install, apt update, apt upgrade, and more will all be noticeably faster. The actual speed increase will depend on which app you’re running and how it is interacting with the file system. Initial tests that we’ve run have WSL 2 running up to 20x fastercompared to WSL 1 when unpacking a zipped tarball, and around 2-5x faster when using git clone, np
一只胖橘