tkuanlun350 / 3DUnet-Tensorflow-Brats18

3D Unet biomedical segmentation model powered by tensorpack with fast io speed
202 stars 68 forks source link

ImportError: cannot import name 'Iterator' from 'tensorflow.contrib.data' #33

Closed StudentRepresentative closed 4 years ago

StudentRepresentative commented 4 years ago

How to i fix this error?

Traceback (most recent call last): File "test.py", line 23, in from train import NetFactory File "brats17-master\train.py", line 20, in from tensorflow.contrib.data import Iterator ImportError: cannot import name 'Iterator' from 'tensorflow.contrib.data'