自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 torch interpolate

(1)torch的interpolate,size和scale_factor参数仅能设置一个,同时设置会报错,size表示interpolate后的(H,W)大小,如果设置scale_factor,实际底层调用时也是先转化为size的大小,当scale_factor为float类型,计算出来的(H,W)采用floor的方式取整。(2)采用scale_factor时的size计算方法:h...

2020-01-16 16:16:38 1804

原创 coco数据集2017

1.caption:info、licenses、images、annotationsinfo{ "description": str, "url": str, "version": str, "year": int, "contributor": str, "date_created": str,}licenses{ "ur...

2020-01-10 16:25:10 768

原创 C++读/写bin文件

1.继承关系方法1:(1)写bin文件#include <iostream>#include <fstream>int main(){ float data[224*224*3]; for(int i=0; i<224*224*3; ++i){ data[i] = i/2.0; } //...

2019-12-29 23:58:10 14013

原创 Pytroch Model 转TenorRT Engine

NVIDIA官方git:https://github.com/NVIDIA-AI-IOT/torch2trtMy git:https://github.com/binzh93/torch2trtReady......

2019-08-17 17:27:38 316

原创 python深浅拷贝(list和numpy对比)

python 中list的深浅拷贝# example1a = [1, [2, 3]]b = ab[0] = 999b[1][0] = 999print("a: ", a)print("b: ", b)此种情况只是简单的赋值,a和b均指向同一个地址的值# example2import copya = [1, [2, 3]]b = a.c...

2019-08-17 17:10:28 178

原创 Pytorch中torch.nn.functional.cross_entropy的ignore_index

ignore_index表示计算交叉熵时,自动忽略的标签值,example:import torchimport torch.nn.functional as Fpred = []pred.append([0.9, 0.1])pred.append([0.8, 0.2])pred = torch.Tensor(pred).view(-1, 2)label = torch.Lon...

2019-08-13 13:05:28 18879 7

原创 pytorch中model.modules()和model.children()的区别

model.modules()和model.children()均为迭代器,model.modules()会遍历model中所有的子层,而model.children()仅会遍历当前层。使用:for key inmodel.modules(): print(key)#model.modules()类似于 [[1, 2], 3],其遍历结果为:[[1, 2], 3...

2019-06-10 22:40:37 16465 1

原创 WIDER FACE数据清洗

wh小于0另外部分resize到512后,对应缩放后的bounding box面积过小 (等于0) ,resize到320后,对应缩放后的bounding box面积等于0较严重部分训练集数据整张图无人脸;部分少数错误标签(包括值小于0,等于0) 文件名/图片名 值 0--Parade/0_Parade_Parade_0_452.jpg 值为4...

2019-06-01 12:31:18 911

原创 Mac上使用lightgbm

Mac上使用lightgbm时报错:image not found终端执行以下指令:brew install libomp

2019-05-13 22:40:00 492 1

原创 VOC Dataset

JPEGImages nums txt lines nums txt lines Annotations file nums 5011 trainval.txt train.txt 2...

2019-04-29 02:23:27 439

原创 Pytorch之数据增强2

torchvision.transformstorchvision.transforms.ToPILImage(mode=None)torchvision.transforms.ToTensor()torchvision.transforms.Lambda(lambd)torchvision.transforms.LinearTransforma...

2019-04-25 15:57:31 660

原创 Pytorch之数据增强1

Transforms on PIL Imagetorchvision.transforms# 亮度,对比,饱和,色调torchvision.transforms.ColorJitter(brightness=0, contrast=0, saturation=0, hue=0)torchvision.transforms.Grayscale(num_output_chann...

2019-04-25 15:50:53 830

原创 Pytorch之数据增强3

Transforms on PIL Imagetorchvision.transforms.functionaltorchvision.transforms.functional与torchvision.transforms的区别在于torchvision.transforms.functional可以自己设定格式,torchvision.transforms一般用于torchvis...

2019-04-25 15:32:58 1604 1

原创 Python 深度学习项目目录规范

ProjectName configs/settings 工程项目配置文件夹 config.py docs 工程项目相关文档说明文件夹 data 工程数据或数据获取代码文件夹 demos/examples 工程demo或example文件夹 ...

2019-04-06 17:50:19 3115

原创 Mac无法连接wifi,重置wifi模块

mac上经常会出现连接wifi失败的情况,连接某个wifi会出现执行诊断的窗口,这时候可能需要重置wifi模块。具体操作如下:1. 关机,拔掉电源2.同时按住shift+control+option+开机键超过10秒钟,然后在开机。 ...

2018-11-16 18:53:01 22386

原创 Ubuntu16.04+Cuda9.0+Cudnn7.0+python2.7+Caffe(官网cmake方法)

1.驱动安装2.Cuda9.0安装3.Cudnn7.0安装以上3步见: https://blog.csdn.net/weixin_42287851/article/details/80421821 4.opencv安装:https://blog.csdn.net/weixin_42287851/article/details/804196465.Caffe安装安装依赖项:...

2018-09-24 23:47:01 475

原创 ubuntu16.04驱动+cuda9.0+cudnn7.0

Ubuntu16.04(系统不同可能会略有不同)1.驱动安装千万别用那种禁掉原显卡那种的方法,全是坑,系统容易崩!!!安装依赖项:sudo apt-get updatesudo apt-get install dkms build-essential linux-headers-generic终端输入sudo apt-get install nvidia-开始按...

2018-05-23 21:06:56 1626

原创 Ubuntu16.04+Cuda9.0+Cudnn7.0+python2.7+Caffe

Ubuntu16.04+Cuda9.0+Cudnn7.0+python2.7+Caffe1.驱动安装2.Cuda9.0安装3.Cudnn7.0安装以上3步见:https://blog.csdn.net/weixin_42287851/article/details/804218214.opencv安装https://blog.csdn.net/weixin_42287851...

2018-05-23 20:09:26 1491

原创 ubuntu16.04+opencv3.1安装

ubuntu16.04+opencv3.1安装安装依赖项:sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-devoptional:sudo apt-get install checkinstal...

2018-05-23 16:14:24 5005 1

原创 ubuntu+python2.7+tensorflow-gpu安装

ubuntu16.04+(系统自带)python2.7+tensorflow-gpu安装1.安装驱动2.安装cuda9.03.按装cudnn7.0以上3步见:https://blog.csdn.net/weixin_42287851/article/details/80421821Tensorflow-GPU安装(可以选择tensorflow的源码进行安装,感觉那种方法...

2018-05-23 14:00:29 5662

Minicoda3-4.6.14-Linux-x86_64.sh

Minicoda3-4.6.14-Linux-x86_64.sh,miniconda3,默认python3.7版本

2019-08-13

code3.pyboundingboxfile

code3.pyboundingboxfile

2018-11-12

抖音_v1.3.5.apk版本

抖音_v1.3.5.apk,移动开发,安卓(Android)可用。欢迎下载。

2018-09-30

genymotion-2.12.2.dmg

安卓模拟器genymotion-2.12.2.dmg, 需要外网下载,登陆需要注册账号

2018-09-30

tensorflow_gpu-1.8.0-cp27-cp27mu-manylinux1_x86_64.whl

tensorflow-gpu python2.7

2018-05-23

ippicv_linux_20151201.tgz

opencv安装时需要下载的一个包ippicv_linux_20151201.tgz

2018-05-23

空空如也

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

TA关注的人

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