自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 libtorch 部署,实现图像分割

1 加载pytorch训练的模型(.pt) 2 读取与pt模型中一致(c,w,h)的input图像 3 如果input是彩色图像,那么需要保证其通道顺序r,g,b,其值归一化处理。 4 model->forward 5 取得结果tensor,映射到0-255, tensor.data_ptr()为指向数据指针,遍历可取。 ...

2019-08-14 15:18:55 2677 4

原创 win10中 deeplab模型 在pascal数据集的运行问题整理

问题1 : TypeError: __init__() got an unexpected keyword argument 'num_parallel_reads' 解决办法: 函数参数换成files 问题2:AttributeError: module 'tensorflow.python.ops.image_ops' has no attribute 'is_jpeg' 解决办法...

2019-06-26 13:26:01 578 1

原创 win10 中 tensorflow-gpu 安装 (1050Ti + Cuda9.1 + tensorflow-gpu1.6.0)

0 安装显卡驱动 (1050Ti) 1 安装显卡对应的cuda版本 (9.1)安装cudnn(7.1) 2 安装Anaconda (python 3.6.5) 3 安装tensorflow-gpu(1.6.0) 由于conda安装太慢,又不能配置国内镜像服务器,从pypi.org下载tensorflow-gpu 1.6.0,pip 安装。 4 完成。 ...

2019-06-17 11:08:28 736 3

原创 itk vtk in matlab

在matlab下使用ITK http://matitk.cs.sfu.ca/ 在matlab下使用VTK http://www.midasjournal.org/browse/publication/650

2013-10-17 12:14:21 1735 1

原创 ITK 在Ubuntu 下的安装

(1) sudo apt-get install cmake  (2) sudo apt-get install cmake-curses-gui  (3) download ITK and make a folder named build  (4) change to build folder and do cmake. As cd build, ccmake .. (Pay atten

2013-10-17 12:04:46 3500

空空如也

空空如也

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

TA关注的人

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