自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (6)
  • 收藏
  • 关注

原创 解决win下vs+yolov3使用Dll载入图片和载入Mat检测出来效果不一致的问题。

问题描述: 在windows下使用vs2015 + Yolov3的DLL版本时(https://github.com/AlexeyAB/darknet),根据官网有两种检测方法如下图:一种是直接加载图片的文件名,另一种是使用Opencv,先用Mat加载图片文件名,再用Detector做检测。按道理来说两种方法检测效果应该一致,可是实际情况却是使用Mat作为检测目标时,检测效果没有直接加载图片...

2018-07-04 17:08:28 2579 10

原创 pytorch方法测试——损失函数(BCELoss)

测试代码:import torchimport torch.nn as nnimport mathm = nn.Sigmoid()loss = nn.BCELoss(size_average=False, reduce=False)input = torch.randn(3, requires_grad=True)target = torch.empty(3).random_(2)...

2018-06-28 16:01:06 42962 2

原创 pytorch方法测试——损失函数(CrossEntropyLoss)

测试代码:import torchimport torch.nn as nnimport mathloss = nn.CrossEntropyLoss()input = torch.randn(1, 5, requires_grad=True)target = torch.empty(1, dtype=torch.long).random_(5)output = loss(input,...

2018-06-28 10:57:08 29286 6

原创 pytorch方法测试——激活函数(ReLU)

测试代码:import torchimport torch.nn as nn#inplace为True,将会改变输入的数据 ,否则不会改变原输入,只会产生新的输出m = nn.ReLU(inplace=True)input = torch.randn(7)print("输入处理前图片:")print(input)output = m(input)print("ReLU输出...

2018-06-13 15:42:46 31927

原创 pytorch方法测试——归一化(BatchNorm2d)

测试代码:import torchimport torch.nn as nnm = nn.BatchNorm2d(2,affine=True) #权重w和偏重将被使用input = torch.randn(1,2,3,4)output = m(input)print("输入图片:")print(input)print("归一化权重:")print(m.weight)print...

2018-06-13 15:28:00 35331 4

原创 pytorch方法测试——卷积(三维)

测试代码:import torchimport torch.nn as nnimport torch.autograd as autogradm = nn.Conv3d(2, 1, 3, stride=2)input = autograd.Variable(torch.randn(1, 2, 3, 5, 6))output = m(input)print("输入图片:")prin...

2018-06-12 22:19:56 7673

原创 pytorch方法测试——卷积(二维)

测试代码:import torchimport torch.nn as nnm = nn.Conv2d(2, 2, 3, stride=2)input = torch.randn(1, 2, 5, 7)output = m(input)print("输入图片:")print(input)print("卷积的权重:")print(m.weight)print("卷积的偏重:")...

2018-06-12 21:40:48 2497

原创 pytorch方法测试——卷积(一维)

import torchimport torch.nn as nnm = nn.Conv1d(2, 5, 2, stride=2)print(m)input = torch.randn(2,2, 5)print(input)output = m(input)print(m.weight)print(m.bias)print(output)print(output.size()...

2018-06-12 19:22:48 12898

vs2015编译好的Opencv4.0+Contrib4.0+Releasex64版本

vs2015编译好的Opencv4.0+Contrib4.0+Releasex64版本。为什么改不了资源分数,默认为5,知道如何改的告诉我一下。我重新上传。

2019-01-25

boost1_66_0 + vs2015 + x64+x86 +release+debug版本+dynamic编译好的库文件

注意由于文件太大上传不了故本资源不含有boost1_66_0 的头文件,大家可以去boost的官网下载。boost1_66_0 + vs2015 + x64+x86 +release+debug版本+dynamic编译好的库文件。

2018-05-21

boost1_66_0 + vs2013 +x64 +x86 + dynamic编译的库+release+debug版本

boost1_66_0头文件 + vs2013 +x64 +x86+release+debug版本 + 动态编译的库

2018-05-21

boost1_66_0 + vs2015+ x64 + static编译的库文件

boost1_66_0头文件+用vs2015在x64下静态编译好的的库文件

2018-05-21

vs2015编译好的Opencv3.1+Contrib3.1+Releasex86版本

vs2015编译好的Opencv3.1+Contrib3.1+Releasex86版本。不知道可不可以用在linux下,没有在linux平台下测试过,测试过的小伙伴可以通知我一声。

2018-05-07

vs2015编译好的Opencv3.1+Contrib3.+Releasex64版本

vs2015编译好的Opencv3.1+Contrib3.1 Release64版本 不知道可不可以用在linux下,没有在linux平台下测试过,测试过的小伙伴可以通知我一声。

2018-05-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除