- 博客(29)
- 资源 (5)
- 问答 (1)
- 收藏
- 关注
原创 halcon 图像处理之形状匹配,创建模版,保存模版,读取模版
//框选模板区域gen_circle (ROI_0, 318.869, 191.105, 51.2842)reduce_domain (Image, ROI_0, ImageReduced)create_shape_model (ImageReduced, 'auto', rad(-180), rad(180), 'auto', 'auto','use_polarity', 'auto', 'auto', ModelID)get_shape_model_contours (ModelCon..
2021-12-03 15:49:50 1500
原创 halcon深度学习标注软件说明书
1、图像分类;-------整幅图片作为一种分类2、无方向的目标检测标注;---------用于目标检测3、有方向的目标检测标注;---------用于目标检测
2021-10-14 17:22:07 1252
原创 Ubuntu 18.04 TensorRT 7.1.3.4 Cuda10.2跑通第一个SampleMNIST示例(python),亲测
一、下载安装cuda和tensorrt,本人前面的文章有二、打开终端cd 自己安装tensorRT的路径/samples/sampleOnnxMNISTmake2. 运行示例以从ONNX模型构建并运行MNIST引擎./sample_onnx_mnist [-h or --help] [-d or --datadir=<path to data directory>] [--useDLACore=<int>] [--int8 or --fp16]3..
2021-08-23 17:23:21 652
转载 Ubuntu18.04安装微信(亲测有效)转载,同样亲测好用
本文的技术只能在 Ubuntu 18.04 上应用 把 Deepin-wine-for-ubuntu Git 仓库的内容克隆到本地: 这里可选择 Github 或者 Gitee,Gitee 的优点是它在国内,速度快,那么相对地, Github 肯定是慢,所以选择 Gitee 仓库: git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git cd deepin-wine-for-ubun...
2021-08-20 14:51:15 1731 2
原创 conda环境激活与退出环境
conda创建环境song@song-Mi-Gaming-Laptop-15-6:~$conda create -n trt7 python=3.6conda激活环境song@song-Mi-Gaming-Laptop-15-6:~$conda activate trt7如果conda激活不成功,就用下面的方式激活song@song-Mi-Gaming-Laptop-15-6:~$source activate trt7激活成功后显示(trt7)song@song-Mi-Gami
2021-08-19 18:06:45 975
原创 ubuntu下cuda10.2安装pycuda
pycuda下载链接https://pypi.tuna.tsinghua.edu.cn/simple/pycuda/安装过程pip install -i 链接 pycuda --no-binary :all:
2021-08-13 18:00:03 806
转载 cannot import name ‘show_result’ from ‘mmdet.apis’的问题解决
解决办法1、在import处删除’show_result’。在这里插入图片描述2、在使用’show_result’处改为’model.show_result()’。model.show_result(img, result, model.CLASSES, score_thr, wait_time=1)3、问题解决!程序可正常运行。...
2021-08-11 15:19:09 3665
原创 onnx转engine,使用tensort带的trtexec转
~/TensorRT-7.1.3.4/bin$ ./trtexec --explicitBatch --onnx=/home/song/cls-smi.onnx --saveEngine=/home/song/cls.engine
2021-08-09 18:07:02 593
原创 mvtec deep learning tool下载百度网盘
链接:https://pan.baidu.com/s/1Xj65MlQvXdOuC1oA-45YXQ提取码:yyds官网文件
2021-07-20 17:10:19 2410 4
原创 onnx_to_tensorrt onnx转tensorrt官方py文件
#!/usr/bin/env python2## Copyright 1993-2020 NVIDIA Corporation. All rights reserved.## NOTICE TO LICENSEE:## This source code and/or documentation ("Licensed Deliverables") are# subject to NVIDIA intellectual property rights under U.S. and# inter.
2021-07-13 09:43:50 469
原创 linux简化onnx模型命令
python -m onnxsim ***.onnx ***-smi.onnx --input-shape 1,3,56,56 python -monnxsim 原模型 转换后模型 --input-shape 自己的模型shape
2021-07-13 09:41:01 1439
原创 No module named ‘pycuda‘
pythonsudo apt-get -y --force-yes install python3-pycuda
2021-07-13 09:34:51 1982
原创 ......
song@song-Mi-Gaming-Laptop-15-6:~/onnx2trt$ python -m onnxsim cls.onnx cls1.onnxSimplifying...Traceback (most recent call last): File "/home/song/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/home...
2021-07-09 15:28:16 330
原创 报错怎么解决,求教
song@song-Mi-Gaming-Laptop-15-6:~$ cd onnx2trtsong@song-Mi-Gaming-Laptop-15-6:~/onnx2trt$ python setup6.py[TensorRT] WARNING: onnx2trt_utils.cpp:220: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. A
2021-07-09 15:05:50 1473 2
原创 ubuntu系统安装了notepadqq以后很正常,菜单栏关了找不到怎么开启菜单栏
ctrl+mctrl+mctrl+m重要的事情说三遍!!!!!!!
2021-07-07 10:15:54 444 9
原创 import tensorrt 失败
首先解压后 vim ~/.bashrc,添加如下内容export LD_LIBRARY_PATH=/home/tensorrt_tar/TensorRT-6.0.1.5/lib:$LD_LIBRARY_PATH添加的自己解压的路径然后运行source ~/.bashrc才能让其生效然后进行你自己建立的虚拟环境 source activate tensorrt(我的)运行python导入:import tensorrt 查看是否成功————————————————版权声明:本文
2021-07-06 18:20:45 1263
原创 linux ubuntu下安装卸载notepad++命令
安装卸载命令安装方式: sudo add-apt-repository ppa:notepadqq-team/notepadqq sudo apt-get update sudo apt-get install notepadqq安装方式: sudo add-apt-repository ppa:notepadqq-team/notepadqq sudo apt-get update sudo apt-get install notepad.
2021-07-06 10:10:58 959
原创 安装tensorrt容易忽视的细节
原文https://zhuanlan.zhihu.com/p/1653594254一、 安装cuda官方推荐安装cuda10.2或者11.0,这里以安装cuda10.2为例。根据系统情况选择合适的cuda版本,这里选择的是x86_64-CentOS7-runfile(local)CUDA Toolkit 10.2 Downloadwget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_instal
2021-07-05 09:55:53 249
原创 ubuntu16.04下 paddleocr模型转onnx模型 命令行模式
paddle2onnx --model_dir "/home/song/Paddle/PaddleOCR/det_20210628" --model_filename inference.pdmodel --params_filename inference.pdiparams --save_file "./Paddle/ONNX/cls.onnx" --opset_version 10 --enable_onnx_checker True
2021-07-02 14:19:53 404
原创 ubuntu16.04安装anaconda3-5.2.0,配置anaconda环境
下载anaconda链接 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/1、移动到根目录home下2、bash Anaconda3-5.2.0-Linux-x86_64.sh //安装anaconda3、安装过程中除了vscoda不安装,其他全是enter和yes,环境变量在安装过程中自动配置4、重新ctrl+alt+f4打开终端输入python测试是否安装成功,anaconda的py...
2021-07-02 10:37:36 179
原创 双显卡踩过的坑,新手安装ubuntu16.04下的cuda10.2驱动和cudnn7.6.5
遇到的bug,安装失败,安装后不能开机,安装后界面进入死循环我的cuda是10.2版本的我的cudnn是7.6.5版本的我的显示器是16001、下载cuda驱动放法根据需要的版本百度搜索例如:cuda10.2下载正常情况下第一个链接就是https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&
2021-07-02 10:24:31 338
原创 解决通常套接字地址只允许使用一次的解决历程
1、cmd到命令行,执行netstat -ano,端口号不管换哪个都会查到PID=4,任务管理器中找到PID=4,发现是system,不能停掉,可能导致系统不稳定,接下来还会尝试更多的方法...
2020-04-08 15:29:08 1333
TA创建的收藏夹 TA关注的收藏夹
TA关注的人