orobix / retina-unet

Retina blood vessel segmentation with a convolutional neural network
1.26k stars 468 forks source link

ImportError: cannot import name concatenate #40

Open doantientai opened 6 years ago

doantientai commented 6 years ago

Traceback (most recent call last): File "./src/retinaNN_training.py", line 15, in <module> from keras.layers import Input, concatenate, Conv2D, MaxPooling2D, UpSampling2D, Reshape, core, Dropout ImportError: cannot import name concatenate

I got this problem when running python run_training.py. Please help...

Thank you very much!

yusrilia commented 6 years ago

Hi! I also got the same error, and I resolved it by upgrading tensorflow; pip install tensorflow --upgrade Hope this helps!

AllBecomesGood commented 6 years ago

I'm running into this issue because i have to use cuda8 and it only works with tensorflow-gpu 1.4.1, so concatenate cant be imported for some reason