taigw / brats17

Brain tumor segmentation for MICCAI 2017 BraTS challenge
BSD 3-Clause "New" or "Revised" License
321 stars 130 forks source link

incompatibility new tensorflow #15

Open faustomilletari opened 6 years ago

faustomilletari commented 6 years ago

Iterator is not present anymore. Fortunately, It seems it is not even used in the code. Might be possible to remove it and therefore gain compatibility with latest TF.

ksharm50 commented 6 years ago

hey have you find the solution to this problem ? ` File "", line 1, in from tensorflow.contrib.data import Iterator

ImportError: cannot import name 'Iterator'`

i am also facing this same problem

faustomilletari commented 6 years ago

I have just removed this import from everywhere it occurs as it turns out it's never used in the code.

Fausto Milletarì Sent from my iPhone

On 27. Jun 2018, at 10:54, kunal sharma notifications@github.com wrote:

hey have you find the solution to this problem ? ` File "", line 1, in from tensorflow.contrib.data import Iterator

ImportError: cannot import name 'Iterator'`

i am also facing this same problem

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

taigw commented 5 years ago

The code was based on Tensorflow 1.4. It should be updated to support the latest version.