上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 26 下一页
摘要: example_1 import numpy as np import cv2 import os color_segmentation=np.asarray([ [0,0,0], #[0]背景 [180,120,120], [6,230,230], [80,50,50], [4,200,3], [ 阅读全文
posted @ 2021-05-13 11:05 无左无右 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1.PyTorch-SE-ResNet https://github.com/moskomule/senet.pytorch https://github.com/StickCui/PyTorch-SE-ResNet 2.resnet https://github.com/lxztju/pytorc 阅读全文
posted @ 2021-05-08 15:59 无左无右 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 以下是为了训练识别,轻微的数据增强方法 import os import cv2 import numpy as np import random def colorjitter(img): ''' ### Different Color Jitter ### img: image cj_type: 阅读全文
posted @ 2021-05-07 20:11 无左无右 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 一些打印代码: caffe.proto里面关于LayerParameter的描述 message LayerParameter { optional string name = 1; // the layer name optional string type = 2; // the layer t 阅读全文
posted @ 2021-04-28 20:27 无左无右 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1.senet SE模块主要为了提升模型对channel特征的敏感性,这个模块是轻量级的,而且可以应用在现有的网络结构中,只需要增加较少的计算量就可以带来性能的提升。 https://zhuanlan.zhihu.com/p/65459972/ https://www.cnblogs.com/bon 阅读全文
posted @ 2021-04-25 16:24 无左无右 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 活久见的c++语法问题。 对于全局变量,只能初始化,不能赋值。 std::string path_wts; path_wts = "/data_1/everyday/0419/psenet/psenet0419.wts"; 在全局范围内这么写居然编译不过!报错如下: error: ‘path_wts 阅读全文
posted @ 2021-04-19 11:14 无左无右 阅读(98) 评论(0) 推荐(0) 编辑
摘要: what(): PyTorch is not linked with support for cuda devices Exception raised from getDeviceGuardImpl at /data_1/code/Libtorch/pytorch_1.7.1/c10/core/i 阅读全文
posted @ 2021-04-14 16:22 无左无右 阅读(866) 评论(0) 推荐(0) 编辑
摘要: # cuda10.0 include_directories(/usr/local/cuda/include) link_directories(/usr/local/cuda/lib64) # tensorrt 7.0.0.11 set(TENSORRT_ROOT ${CMAKE_SOURCE_D 阅读全文
posted @ 2021-04-13 10:12 无左无右 阅读(300) 评论(0) 推荐(0) 编辑
摘要: from PIL import Image,ImageDraw,ImageFont image = Image.open("/data_2/dog1.jpg") text = "仅供授权证明用,他用无效 \n有效期:20210401-20210430" font=ImageFont.truetype 阅读全文
posted @ 2021-04-01 10:52 无左无右 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 本文github链接,欢迎star 1.准备工作 首先,要弄清楚自己在做什么,然后一步步的去实现它,在此过程中,要不断验证自己的每个步骤是否正确。验证正确了再往下继续走,不正确就要去排查哪里有问题。 现在是需要把pytorch refinedet转tensorrt。而且是一步步的搭建网络实现。 py 阅读全文
posted @ 2021-03-12 17:16 无左无右 阅读(343) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 26 下一页