- 博客(58)
- 资源 (1)
- 收藏
- 关注
原创 Jetson TX2 及 Xavier 安装Pillow
用sdkmanager刷机后安装Pillow之前需要先安装一些依赖库否则会出现以下错误Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mxjex_tv/Pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__)...
2019-11-13 14:49:25
1288
转载 Git 命令
分支操作git branch 创建分支git branch -b 创建并切换到新建的分支上git checkout 切换分支git branch 查看分支列表git branch -v 查看所有分支的最后一次操作git branch -vv 查看当前分支git brabch -b 分支名 origin/分支名 创建远程分支到本地git branch --merged 查看别的分支...
2019-11-07 21:00:32
255
转载 TensorRT安装及使用教程
TensorRT安装及使用教程本文链接:https://blog.youkuaiyun.com/zong596568821xp/article/details/86077553参考:https://arleyzhang.github.io/articles/7f4b25ce/1 什么是TensorRT一般的深度学习项目,训练时为了加快速度,会使用多GPU分布式训练。但在部署推理时,为了降低成本,往往使...
2019-11-06 10:36:46
1113
转载 TX2之TensorRT加速TensorFlow目标检测模型
TX2之TensorRT加速TensorFlow目标检测模型本文链接:https://blog.youkuaiyun.com/zong596568821xp/article/details/86622430参考:https://github.com/jkjung-avt/tf_trt_models/tree/tf-1.8在之前的文章中,详细介绍了tensorflow目标检测接口的使用方法,包括训练与推理...
2019-11-06 10:34:51
1355
原创 人体姿态检测开源代码笔记
https://github.com/yuanyuanli85/Fast_Human_Pose_Estimation_Pytorch 单人体关键点检测
2019-11-04 20:44:33
1423
原创 RuntimeError: ONNX symbolic expected a constant value in the trace
pth 模型转 onnx时出错参考 up3 = F.interpolate(output3, size=[output2.size(2), output2.size(3)], mode="nearest") # errorup3 = F.interpolate(output3, size=[32, 32], mode="nearest") ...
2019-10-19 11:12:59
615
原创 tx2 mxnet wh安装 ImportError: libcblas.so.3: cannot open shared object file: No such file or directory
sudo apt-get install libatlas-base-dev
2019-09-26 16:21:24
1708
原创 C++ OpenCV cvtColor CV_BGR2GRAY未声明的标识符的解决办法
加上这个引用即可:#include <opencv2\imgproc\types_c.h>转自 https://blog.youkuaiyun.com/qq_39097425/article/details/84504507
2019-09-10 21:14:57
2042
原创 vs2015 快速定位一个函数或者变量 ctrl+鼠标左键
工具–>扩展和更新–>联机–>Visual Studio 库–>右侧搜索选择“最常用” 找到GO TO DEFINITION这个插件下载安装,重启。
2019-09-10 21:04:44
7213
1
原创 ImportError: DLL load failed: 找不到指定的模块。
下载 Visual C++ Redistributable for Visual Studio 2015安装后重新执行 pip install
2019-09-09 17:24:06
516
原创 TypeError: Object of type 'int64' is not JSON serializable (或者float32)
TypeError: Object of type ‘int64’ is not JSON serializable (或者float32)转载自:https://blog.youkuaiyun.com/Zhou_yongzhe/article/details/87692052在使用json格式保存数据时,经常会遇到xxx is not JSON serializable,也就是无法序列化某些对象格式,...
2019-08-17 11:56:11
421
原创 TX2 常用操作
TX2 常用操作trt 版本$ !dpkg -l | grep nvinfercuda 信息不能在 tx2 上使用 nvidia-smi 查看。cuda 路径:/usr/local/cuda-x-y (X、Y 是 cuda 版本)cudnn 信息$ sudo find / -name libcudnn*tensorrt 信息$ sudo find / -nam...
2019-08-12 21:16:52
374
原创 tx2 安装 lxml scipy
sudo apt-get install python3-lxmlsudo apt-get install python-lxmlsudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
2019-07-26 11:43:10
473
转载 ShuffleNet v2算法笔记
ShuffleNet v2算法笔记2018年07月31日 22:44:52 AI之路 阅读数 11232版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.youkuaiyun.com/u014380165/article/details/81322175论文:ShuffleNet V2: Practical Guidelines for Ecient CNN Archite...
2019-07-02 17:32:26
348
转载 TX2修改时间
sudo date -s MM/DD/YY //修改日期sudo date -s hh:mm:ss //修改时间在修改时间以后,修改硬件CMOS的时间sudo hwclock --systohc //非常重要,如果没有这一步的话,后面时间还是不准查看系统时间 date作者:理工男的杂货铺来源:优快云原文:h...
2019-06-27 17:59:44
1117
原创 计算数据集中图像均值
import osimport numpy as npimport cv2 ims_path = r'E:\Datasets/' # Path to Images#ims_list = os.listdir(ims_path)g = os.walk(ims_path)ims_list = ['%s\\%s' % (i[0], j) for i in g if i[0].ends...
2019-06-26 18:42:56
867
4
转载 pytorch torchvision.transforms.Normalize()中的mean和std参数---解惑
torchvision.transforms.Normalize()中的mean和std参数做什么用呢?疑问1:按照我的理解,归一化就是要把图片3个通道中的数据整理到[-1, 1]区间。x = (x - mean(x))/stddev(x)只要输入数据集x确定了,mean(x)和stddev(x)也就是确定的数值了,为什么Normalize()函数还需要输入mean和std的数值呢?疑问...
2019-06-26 18:21:44
2521
1
转载 目标检测mAP指标概念解析
作者:Wentao链接:https://www.zhihu.com/question/53405779/answer/419532990来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。**mAP定义及相关概念**mAP: mean Average Precision, 即各类别AP的平均值AP: PR曲线下面积,后文会详细讲解PR曲线: Precisi...
2019-06-25 15:06:40
732
转载 Ubuntu安装RTX2080显卡驱动
Ubuntu安装RTX2080显卡驱动安装RTX2080显卡驱动#近日新购了一台DELL服务器,用于TensorFlow,由于显卡是另加的,需要安装显卡驱动。服务器配置#服务器型号:DELL PowerEdge R730CPU:2*Intel(R) Xeon(R) E5-2650 v4内存:8*32G磁盘:2*1.2T,raid 0显卡:2*Nvidia RTX2080系统:...
2019-06-24 21:10:38
2946
转载 Torchvision transforms 总结
转载自 https://blog.youkuaiyun.com/Hansry/article/details/84071316一.torchvision.transformsTransfoms 是很常用的图片变换方式,可以通过compose将各个变换串联起来**1. class torchvision.transforms.Compose (transforms) **这个类将多个变换方式结合在一起...
2019-06-24 11:37:11
1954
原创 TX2安装numba
apt-get install llvm-3.9export LLVM_CONFIG=$(whitch llvm-config-3.9)sudo pip install numba==0.3llvmlite下载链接解压cd llvmlitepython setup.py install
2019-06-15 11:57:01
653
转载 pytorch 正确的测试时间的代码 torch.cuda.synchronize()
start = time.time()result = model(input)end = time.time()torch.cuda.synchronize()start = time.time()result = model(input)torch.cuda.synchronize()end = time.time()一共上述两种测试时间的方式,正确的方式是第二种,为什么是...
2019-06-11 15:26:16
3399
1
原创 2019 Beyond Compare3 密钥
mv1nPlXAywBDCdhxFc9QOVv6TBcQHLAXBQUAKTh3ie4fqSEOnWrPsnVkF yt0wAkJHweoExRJWWVwwCniKNROSdJzJXE6YVapYW7f+tRRXRFI4yn4Nj jZ0RiiqGRCTVzwComUcXB-eiFWRBY6JpSsCNkmIxL5KsRCo442djHhTZE
2019-05-17 17:05:16
10529
1
转载 windows下安装pycocotools包
windows下安装pycocotools包:pip install pycocotools出错:参考 https://github.com/philferriere/cocoapipip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI...
2019-05-16 13:08:46
996
原创 TX2 遇到问题汇总
TX2安装scipy出现的问题: no lapack/blas resources found解决方法,安装lapacksudo apt-get install liblapack-dev 然后重新安装scipy,这次遇到了不一样的问题。遇到的问题:error: library dfftpack has Fortran sources but no Fortran compiler f...
2019-05-10 09:40:39
788
原创 TX2 镜像刷机后无法进入系统
用已经配置好环境的TX2 Ubuntu16.04系统制作了个镜像后给新的TX2刷机完成后发现不能进入系统并出现如下提示welcome to emergency mode!after logging in ,type “journalctl -xb” to view system logs,“systemctl reboot” to reboot ,“systemctl default” to ...
2019-04-25 12:20:16
2006
原创 TX2使用
TX2不支持查看当前JetPack版本可通过如下命令查询其他信息$ git clone https://github.com/jetsonhacks/jetsonUtilities$ cd jetsonUtilities$ python jetsonInfo.py可得到 NVIDIA Jetson TX2 L4T 28.1.0 [ JetPack UNKNOWN ] Board:...
2019-04-22 20:06:28
1063
原创 在Windows下使用make命令
1.下载MinGW下载地址2.安装运行 mingw-get-setup.exe 选择默认路径全部勾选点击Apply开始下载安装3.配置环境将C:\MinGW\bin路径添加到环境变量Path下新建将C:\MinGW\bin路径下的mingw32-make.exe重命名为make.exe...
2019-04-18 15:36:01
66574
9
原创 TX2 环境搭建
开机启动cd NVIDIA-INSTALLERsudo ./installer.shreboot输入法谷歌拼音输入法1,通过指令:sudo apt-get install fcitx-googlepinyin2, 在settings -> language support 里将 keyboard input method system 设置为fcitx3, 重启在se...
2019-04-16 16:38:39
1612
原创 Atom python 插件
autocomplete-paths 路径自动补全autocomplete-python-jedi python 自动补全file-icons 美化左侧图标 Hydrogen 内置jupyter notebook minimap 代码小地图platformio-ide-terminal 在界面下方添加终端atom-python-run 按f5可以执行你的脚本,但是...
2019-04-16 11:08:36
650
原创 windows下pycocotools的安装
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI参考:https://github.com/philferriere/cocoapi
2019-04-10 18:53:39
290
原创 python better-exceptions工具
python debug 工具 better-exceptions安装方法# installpip install better_exceptions# set the BETTER_EXCEPTIONS environment variable to any valueexport BETTER_EXCEPTIONS=1 # Linux / OSXsetx BETTER_EXCE...
2019-04-02 09:45:01
1931
转载 stocks
开源量化交易框架整理:https://www.oschina.net/p/samaritanhttps://www.oschina.net/p/vn-pyhttps://www.oschina.net/p/abuhttps://www.oschina.net/p/abuquanthttps://github.com/sun0x00/RedTorch有些国外的平台、社区、博客如果连接无法...
2019-03-28 20:39:28
1233
原创 Jupyter 安装使用笔记
1. Anaconda下安装Jupyter Notebook (Windows10)pip install jupyter2. 运行Jupyterjupyter notebook选择默认浏览器Chrome,此时弹出Jupyter页面但显示为空白解决办法:jupyter notebook --generate-config然后打开 C:/user/.jupyter/jupyter...
2019-03-26 20:53:11
588
原创 anaconda 配置国内镜像加速
配置清华conda镜像conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/配置清华PyPI镜像(如无法运行,将...
2019-03-22 21:20:04
3240
转载 C++开源项目学习
https://blog.youkuaiyun.com/a110658684/article/details/78862348
2019-03-22 12:36:23
2697
原创 TX2 TensorRT 测试
$ mkdir -p ~/project$ cd ~/project$ git clone https://github.com/dusty-nv/jetson-inference.git$ cd jetson-inference$ mkdir build$ cd build$ git submodule update --init$ cmake ..$ make -j4$ cd...
2019-03-20 17:48:43
1010
原创 windows 下 tensorrt 下载 及c++测试
下载tensorrt并解压到D:\Environment:https://developer.nvidia.com/nvidia-tensorrt-5x-download添加环境变量:D:\Environment\TensorRT-5.1.2.2\lib复制lib下dll 至 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bi...
2019-03-20 13:57:13
3429
转载 tx2入门系列,及tensorrt
https://blog.youkuaiyun.com/haoqimao_hard/article/details/80516828
2019-03-19 16:35:47
819
原创 装机 + 环境配置笔记
一:装机CPU 8700K主板 华擎 Z390 Extreme 4显卡 NVIDIA TITAN XP Collection’s Edition主硬盘 Samsung 970 Pro 500G副盘 Samsung 860 QVO 1T内存 海盗船复仇者 DDR4 3000 8G*2散热 大镰刀千石船电源 EVGA 850G3机箱 先马黑洞3二:环境搭建win10启动盘制...
2019-03-14 10:04:11
340
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人