月夜

分享网络知识·享受快乐生活


  • Home

  • Archives

  • Tags

Python正则表达式简记

Posted on 2017-04-22 | In 人工智能
正则表达式听起来有些让人头痛,但有时候又特别有用,尤其是一些程序中,其更是避不开的存在。不过Python提供了一个方便使用和处理正则表达式的包——re模块,使得在Python中使用正则表达式十分方便。可虽然如此,对正则表达式还是需要进行一番学习,方能在使用时得心应手,挥洒自如。 虽然目前我对正则表达 ...
Read more »

WordPress中inline和code block代码高亮插件使用备忘

Posted on 2017-04-20 | In 网站相关
最近因为博文中需要使用大量代码,而视同普通文字的代码排版着实让人头痛,所以一直物色着一个代码高亮插件。 但是我又一直懒得折腾,趁闲暇之余试过几个WordPress的代码高亮插件,却大多功能太过简单,根本不能符合要求;或者是与我的博客主题略有冲突,造成无法使用,甚至对以往的博文造成影响。还好,最终发现 ...
Read more »

Python之pickle应用简记

Posted on 2017-04-20 | In 人工智能
在Python程序中,有时候会需要对一些数据进行保存,而Python的pickle模块就是专门用来对数据进行序列化的。需要说明的是Python还有一个cPickle模块,其与pickle具有相同的功能,但因为其是C语言进行实现的,效率上相比pickle要好很多,所以可以使用cPickle完全替代pi ...
Read more »

让Ubuntu系统的Terminal通过Shadowsocks科学上网

Posted on 2017-03-14 | In 人工智能
Ubuntu上使用Shadowsocks访问被屏蔽的网站已经十分方便了,但是有时候在Terminal上执行命令访问某些被屏蔽的网址时,比如googleapi.com,或者某些即使没有屏蔽但速度很慢的网站时,还是需要在Terminal上科学上网的。 可我试图用很多人推荐的安装polipo的方式去弄,安 ...
Read more »

小女取名记

Posted on 2017-01-07 | In 经验知识
其实从年初老婆怀孕,我们就开始酝酿孩子的名字了。不过因为提前并不知道是个女孩儿还是男孩儿,而且也并不能提前预知孩子的五行八字,所以对名字的思考仅只限于思考而已。作为与老婆的闲聊之资,我们也偶尔会对未来畅想,宝宝叫什么好呢? 最初因为我们有一个自古排过来的辈分,到孩子这儿,辈分是“德”,而我和老婆恰恰 ...
Read more »

Transform voxel coordinates to world coordinates of DICOM files

Posted on 2016-12-24 | In 谈天说地
import numpy as npimport SimpleITK as sitkimport csvimport osimport linecacheimport inspect seriesuid_label = ‘seriesuid’coordX_label = ‘coordX’coordY ...
Read more »

Test the models trained using 3D CNN

Posted on 2016-12-24 | In 谈天说地
#!/usr/local/bin/python# -- coding: utf-8 --‘’’This function calculates if the axis is a nodule using 3D model. the output is the posibility of an a ...
Read more »

Test 3D models using official candidates or candidates detected ourselves

Posted on 2016-12-20 | In 谈天说地
#!/usr/local/bin/python# -- coding: utf-8 --‘’’This function calculates if the axis is a nodule using 3D model. the output is the posibility of an a ...
Read more »

a TensorFlow example to read data using QueueRunner

Posted on 2016-12-15 | In 谈天说地
#!/usr/local/bin/python# -- coding: utf-8 --‘’’3D convolutional neural network trained to reduce the False Positive Rate for the LUNA datasets. Th ...
Read more »

TensorFlow Multiple GPU and Reading data using Queue Runner Example

Posted on 2016-12-15 | In 谈天说地
#!/usr/local/bin/python# -- coding: utf-8 --‘’’3D convolutional neural network trained to reduce the False Positive Rate for the LUNA datasets. Th ...
Read more »
1234…44
John Doe

John Doe

433 posts
12 categories
108 tags
© 2018 John Doe
Powered by Hexo
Theme - NexT.Muse