Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

classify_nodes.py - Attribute Error: 'list' object has no attribute 'read' #16

Open
Bananaboy99 opened this issue Apr 24, 2017 · 7 comments

Comments

@Bananaboy99
Copy link

Hey,

I got a problem running the clasify_nodes.py script. I get the Error down below and if I try to use the nodules.npy directly, I cannot find it. Where is the nodules.npy file? Why do I get this Error?
Thx for your help.

/usr/lib64/python3.4/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20. "This module will be removed in 0.20.", DeprecationWarning) Traceback (most recent call last): File "classify_nodes.py", line 144, in <module> getRegionMetricRow(argv[1:]) File "classify_nodes.py", line 22, in getRegionMetricRow seg = np.load(fname) File "/usr/lib64/python3.4/site-packages/numpy/lib/npyio.py", line 402, in load magic = fid.read(N) AttributeError: 'list' object has no attribute 'read'

@hassanimam1
Copy link

Hey I get the same error (unfortunately).... I hope it has been solved by now... please if anyone could help...

@qxyjyj
Copy link

qxyjyj commented Jan 22, 2018

@Bananaboy99 I get the same error. Have you solved it?

@lz666win
Copy link

I have the same error,how can I got nodules.npy

@aszhanghuali
Copy link

I get the same error. Have you solved it?

我有同样的错误,我怎么能得到结节。
I get the same error. Have you solved it?

@aszhanghuali
Copy link

@Bananaboy99
Hi!
I get the same error. Have you solved it?

@aszhanghuali
Copy link

@qxyjyj
Hi!
I get the same error. Have you solved it?Thanks

@qxyjyj
Copy link

qxyjyj commented Jan 5, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants