由于安装新版本的TensorFlow需要cudnn6.0因此用6.0将原来的 5.0替换了,后来又用之前编译好的caffe进行训练,发现caffe会去找5.0的cudnn,然后就报错了,不能正常训练。 开始的时候试着建立一个软连接,没有成功,后来将caffe重新make了一下,又运行发现还是不能跑, Read More
posted @ 2017-12-01 15:43 rainsoul Views(776) Comments(0) Diggs(0) Edit
mask_all = np.zeros((256, 256), dtype='uint8') 单通道 mask_all_enlarge = np.zeros((256, 256, 3), dtype='uint8' 三通道 #为三通道图像赋值,这里我用的是循环,因该还有更简单的方式 img_base Read More
posted @ 2017-12-01 09:30 rainsoul Views(9553) Comments(0) Diggs(1) Edit