08 2022 档案
摘要:1. 下载opencv4.6.0并解压 https://opencv.org/releases/ unzip opencv-4.6.0.zip cd opencv-4.6.0 2. 安装基础工具 sudo apt-get install build-essential sudo apt-get in
阅读全文
摘要:1. 解压交叉编译工具链arm-himix200-linux tar -zxvf arm-himix200-linux.tgz cd arm-himix200-linux 2. 进入root模式,安装交叉编译工具链 su root source ./arm-himix200-linux.instal
阅读全文
摘要:1. 下载并安装nfs服务器软件 https://pan.baidu.com/s/1y2R2aJyEExnCJ7FRqdaNdA 提取码:esdw 2. 修改安装目录下exports文件的共享目录和客户端的IP地址 c:\Program Files (x86)\nfsd\exports c:\Dee
阅读全文
摘要:1. 拿到hi3516核心版后,首先通过串口登录,修改IP地址,启动自动生效 vi /etc/init.d/rcS ifconfig eth0 192.168.1.13 netmask 255.255.255.0 route add default gw 192.168.1.1 2. 添加DNS,访
阅读全文
摘要:import os # 读取真实标签文件列表,不含文件后缀 path_A = './ground-truth' set_A = set (i.split('.')[0] for i in os.listdir(path_A)) print(path_A ,"files:", len(set_A))
阅读全文
摘要:1. 安装vscode和cmake sudo apt install cmake 2. 安装vscode的cmake扩展 CMake CMake Tools 3. 在显示所有命令中执行build命令 ctrl+shift+P cmake:build # 快捷键F7 参考:https://zhuanl
阅读全文
摘要:1. 使用top查看内存信息 ps -ef | grep process # 查看进程id top -p process_id # 查看内存信息 2. 使用ps查看内存信息 ps -aux | grep process # USER PID %CPU %MEM VSZ RSS,其中RSS为物理内存
阅读全文
摘要:1. 安装Pytorch pip install torch==1.8.2 torchvision==0.9.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cpu 运行Python import torch print(to
阅读全文
摘要:方法1: 1.使用ssh远程登录到服务器上 ssh username@ip 2.在远程服务器上打开jupyter-lab服务,不要打开浏览器,并修改端口 jupyter-lab --no-browser --port=8889 3.在本地PC上使用ssh映射远程服务器的端口 ssh -N -f -L
阅读全文