项目GitHub主页:https://github.com/orobix/retina-unet

参考论文:Retina blood vessel segmentation with a convolution neural network (U-net) Retina blood vessel segmentation with a convolution neural network (U-net)

import os, sys
import ConfigParser#config file to read from
config = ConfigParser.RawConfigParser()
config.readfp(open(r'./configuration.txt'))
#===========================================
#name of the experiment!!
name_experiment = config.get('experiment name', 'name')
nohup = config.getboolean('testing settings', 'nohup')   #std output on log file?#create a folder for the results if not existing already
result_dir = name_experiment
print "\n1. Create directory for the results (if not already existing)"
if os.path.exists(result_dir):pass
elif sys.platform=='win32':os.system('md ' + result_dir)
else:os.system('mkdir -p ' + result_dir)# finally run the prediction
if nohup:print "\n2. Run the prediction with nohup (no GPU)"os.system(' nohup python -u ./src/retinaNN_predict.py > ' +'./'+name_experiment+'/'+name_experiment+'_prediction.nohup')
else:print "\n2. Run the prediction without nohup (no GPU)"os.system(run_GPU +' python ./src/retinaNN_predict.py')

代码很简单,可以直接参考run_training.

Unet项目解析(3): run_testing.py相关推荐

  1. Unet项目解析(1): run_training.py

    项目GitHub主页:https://github.com/orobix/retina-unet 参考论文:Retina blood vessel segmentation with a convol ...

  2. Unet项目解析(4): ./src/RetinaNN_predict.py

    项目GitHub主页:https://github.com/orobix/retina-unet 参考论文:Retina blood vessel segmentation with a convol ...

  3. Unet项目解析(2):./src/retinaNN_training.py

    项目GitHub主页:https://github.com/orobix/retina-unet 参考论文:Retina blood vessel segmentation with a convol ...

  4. Unet项目解析(7): 模型编译-优化函数、损失函数、指标列表

    项目GitHub主页:https://github.com/orobix/retina-unet 参考论文:Retina blood vessel segmentation with a convol ...

  5. Unet项目解析(6): 图像分块、整合 / 数据对齐、网络输出转成图像

    项目GitHub主页:https://github.com/orobix/retina-unet 参考论文:Retina blood vessel segmentation with a convol ...

  6. Unet项目解析(5): 数据封装、数据加载、数据显示

    项目GitHub主页:https://github.com/orobix/retina-unet 参考论文:Retina blood vessel segmentation with a convol ...

  7. Django 1.6 最佳实践: 如何设置django项目的设置(settings.py)和部署文件(requirements.txt)...

    Django 1.6 最佳实践: 如何设置django项目的设置(settings.py)和部署文件(requirements.txt) 作者: Desmond Chen, 发布日期: 2014-05 ...

  8. 《R语言数据挖掘:实用项目解析》——第2章,第2.9节无参数方法

    本节书摘来自华章出版社<R语言数据挖掘:实用项目解析>一书中的第2章,第2.9节无参数方法,作者[印度]普拉迪帕塔·米什拉(Pradeepta Mishra),更多章节内容可以访问云栖社区 ...

  9. Github项目解析(九)--实现Activity跳转动画的五种方式

    2019独角兽企业重金招聘Python工程师标准>>> 版权声明:本文为博主原创文章,未经博主允许不得转载. 转载请标明出处:一片枫叶的专栏 上一篇文章中我们讲解了在Activity ...

最新文章

  1. Spark2.11 两种流操作 + Kafka
  2. 三、 将DataTable 转换为List
  3. php100 linux,PHP100精华:很靠谱linux经常使用命令
  4. Linux 怎么重启 mysql
  5. dedecms 会员发布的信息后台未审核,前台显示审核修改
  6. 【Go语言入门教程】Go语言简介
  7. 龙果支付 mysql_龙果学院 基于电商业务的企业级大中台从设计到实现(第一阶段) 百度云 百度网盘...
  8. 经典小游戏开发思路和算法之拼图(1)
  9. 双系统linux哪种好,双系统安装实战,这个Linux系统超级简单
  10. arcgis10之将一个shp属性数据通过某一字段将要素属性关联至另一shp文件中
  11. 一些关于吸血鬼的词汇
  12. vue与原生安卓相互调用
  13. oracle官网下载JDK速度很慢的解决方案
  14. PostgreSQL 报ERROR: column c.relhasoids does not exist
  15. 英语语法5-现在完成时
  16. 雨课堂知识点总结(十九)
  17. 腾讯后台面经大全(整合版)
  18. 画渐变色的C++代码
  19. C语言-输出100以内的质数
  20. 360称该工具全面保护QQ用户的安全

热门文章

  1. Gradle学习网站
  2. 设计模式学习笔记--解释器模式
  3. 走过2011---年终总结
  4. 一个例子探究jQuery的Ajax应用(一)
  5. Lync Server存档和监控服务器PART A:准备篇
  6. IE6、IE7、Firefox无提示关闭窗口的代码
  7. JSP 标准标签库(JSTL)
  8. NYOJ 496 巡回赛 拓扑排序
  9. NYOJ 252 01串 dp
  10. 洛谷——P1640 [SCOI2010]连续攻击游戏