会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
无左无右
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
29
下一页
2021年4月1日
python 图像加水印
摘要: 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 无左无右
阅读(117)
评论(0)
推荐(0)
2021年3月12日
refinedet tensorRT实现
摘要: 本文github链接,欢迎star 1.准备工作 首先,要弄清楚自己在做什么,然后一步步的去实现它,在此过程中,要不断验证自己的每个步骤是否正确。验证正确了再往下继续走,不正确就要去排查哪里有问题。 现在是需要把pytorch refinedet转tensorrt。而且是一步步的搭建网络实现。 py
阅读全文
posted @ 2021-03-12 17:16 无左无右
阅读(399)
评论(0)
推荐(0)
2021年3月11日
crnn pytorch 训练、测试
摘要: ##1.仓库地址 https://github.com/meijieru/crnn.pytorch 原版用lua实现的:https://github.com/bgshih/crnn 需要用到的warp_ctc_pytorch: https://github.com/SeanNaren/warp-ct
阅读全文
posted @ 2021-03-11 18:05 无左无右
阅读(2930)
评论(1)
推荐(0)
2021年3月8日
记录一下一些奇怪的问题
摘要: 有些问题虽然一波操作解决了,但是不知道为啥,这里记录一下: image.convertTo(image, CV_32FC3)导致数据不一样了 void sub_mean(const cv::Mat &img,cv::Mat &m_out) { const cv::Scalar m_mean = cv
阅读全文
posted @ 2021-03-08 19:02 无左无右
阅读(114)
评论(0)
推荐(0)
2021年3月5日
指定维度softmax 层tensorRT api实现
摘要: 解决了问题才来记录一下的,现在的心情是好点儿的,但是之前,昨天,真是无厘头,被折腾的一点脾气都没有。 本来就是一个softmax嘛,很简单的嘛,就是按照公式e的指数再相加求和,官方有api实现,比如我找的例子, // Add activation layer using the ReLU algor
阅读全文
posted @ 2021-03-05 14:34 无左无右
阅读(1097)
评论(0)
推荐(0)
2021年2月25日
L2norm 层tensorrt api实现
摘要: 最近在用tensorrt api实现refinedet,中间过程记录一下。主要参考的如下仓库: https://github.com/wang-xinyu/tensorrtx tensorrt api说明: https://docs.nvidia.com/deeplearning/tensorrt/
阅读全文
posted @ 2021-02-25 19:21 无左无右
阅读(880)
评论(0)
推荐(1)
2021年2月5日
refinedet一些pytorch,python语法学习
摘要: 官方链接: https://github.com/luuuyi/RefineDet.PyTorch product for k, f in enumerate([10, 8, 5, 3]): print("f: ",f) for i, j in product(range(f), repeat=2)
阅读全文
posted @ 2021-02-05 17:12 无左无右
阅读(406)
评论(0)
推荐(0)
2021年1月27日
Yolov3 训练自己的数据集
摘要: ##一、下载源码 git clone https://github.com/ultralytics/yolov3.git cd yolov3 git checkout cf7a4d31d37788023a9186a1a143a2dab0275ead 最新版本需要pytorch1.7,由于我是实验yo
阅读全文
posted @ 2021-01-27 16:15 无左无右
阅读(1359)
评论(0)
推荐(0)
2021年1月26日
u版本yolov3中一些pytorch语法学习
摘要: torch.meshgrid meshgrid翻译:网格) x1 ,y1 = torch.meshgrid(x,y) ( 参数是两个,第一个参数我们假设是x,第二个参数假设就是y 输出的是两个tensor,size就是x.size * y.size(行数是x的个数,列数是y的个数) 具体输出看下面
阅读全文
posted @ 2021-01-26 10:50 无左无右
阅读(373)
评论(0)
推荐(0)
2021年1月5日
cuda 编程1
摘要: 本文参考链接: 《CUDA C Programming Guide》(《CUDA C 编程指南》)导读 https://zhuanlan.zhihu.com/p/53773183?from_voters_page=true //main.cu /* main.cu */ #include <iost
阅读全文
posted @ 2021-01-05 11:31 无左无右
阅读(368)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
29
下一页
公告