- 博客(5)
- 收藏
- 关注
原创 libtorch 部署,实现图像分割
1 加载pytorch训练的模型(.pt)2 读取与pt模型中一致(c,w,h)的input图像3 如果input是彩色图像,那么需要保证其通道顺序r,g,b,其值归一化处理。4 model->forward5 取得结果tensor,映射到0-255, tensor.data_ptr()为指向数据指针,遍历可取。...
2019-08-14 15:18:55 2692 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 590 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 750 3
原创 itk vtk in matlab
在matlab下使用ITKhttp://matitk.cs.sfu.ca/在matlab下使用VTKhttp://www.midasjournal.org/browse/publication/650
2013-10-17 12:14:21 1752 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 3523
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人