会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
路在脚下丶
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
下一页
2018年3月4日
Myeclipse中左边的项目目录没了
摘要: 或者如下方法2 或者如下方法4
阅读全文
posted @ 2018-03-04 20:39 路在脚下丶
阅读(3449)
评论(0)
推荐(0)
2018年2月2日
numpy的ndarray数组如何reshape成固定大小
摘要: 在做肺结节检测的时候,遇到dicom文件reshape之后尺寸大小不一。因为大下不一,numpy.reshape又无法重塑成指定大小的。最后还是在一个大牛的代码中找到了解决方法。
阅读全文
posted @ 2018-02-02 21:09 路在脚下丶
阅读(2142)
评论(0)
推荐(0)
2018年2月1日
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc4 in position 0: i报错
摘要: 在程序的顶部加了下面两行就好了,中文也可以正常显示了 #!/usr/bin/env Python# coding=utf-8
阅读全文
posted @ 2018-02-01 21:38 路在脚下丶
阅读(4149)
评论(0)
推荐(0)
2018年1月23日
ValueError: Only call `softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...)
摘要: tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(logits=predicton,labels=y))
阅读全文
posted @ 2018-01-23 23:14 路在脚下丶
阅读(386)
评论(0)
推荐(0)
2018年1月21日
.npy文件怎么打开
摘要: import numpy as nptest = np.load(r'C:\Users\SAM\PycharmProjects\TEAMWORK\Preprocess_3D\muchdata-50-50-20.npy')print(test)
阅读全文
posted @ 2018-01-21 22:00 路在脚下丶
阅读(9685)
评论(0)
推荐(0)
slices = [dicom.read_file(path + '/' + s) for s in os.listdir(path)] FileNotFoundError: [WinError 3] 系统找不到指定的路径。
摘要: 最近跟着kaggle做一个医疗项目,加载路径总是出错。 将下面箭头处: 改为:
阅读全文
posted @ 2018-01-21 20:00 路在脚下丶
阅读(3135)
评论(0)
推荐(0)
FutureWarning: get_value is deprecated and will be removed in a future release. Please use .at[] or .iat[] accessors instead print(labels_df.get_value(patients,col=1))
摘要: 这是因为pandas的版本高了,0.21之后就已经将这个方法干掉了。直接装成0.20之前的就好
阅读全文
posted @ 2018-01-21 16:18 路在脚下丶
阅读(2221)
评论(0)
推荐(0)
2018年1月20日
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 0: invalid continuation byte
摘要: 用pandas打开csv文件可能会出现这种情况,原因可能是excel自己新建一个*.csv文件时候容易出错。进入文件另存为,然后选择csv文件即可。
阅读全文
posted @ 2018-01-20 17:49 路在脚下丶
阅读(2347)
评论(0)
推荐(0)
pycharm图像不能显示,之前是可以显示的。显示一两次突然不显示了
摘要: 网上说是什么包问题的就说了。我遇到一个非常奇葩的问题 因为你的设置可能是这样 每次都在窗口右侧的工具栏那边显示。可能突然心情不佳就不显示了。然后你再把勾去掉即可。你要喜欢再点上也行。
阅读全文
posted @ 2018-01-20 12:22 路在脚下丶
阅读(1017)
评论(0)
推荐(0)
pycharm运行程序,总是出现IPthony界面(IPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help. PyDev console: using IPython 6.2.1)
摘要: 解决方式如下: 取消即可。
阅读全文
posted @ 2018-01-20 12:14 路在脚下丶
阅读(2687)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
下一页
公告