HZCTony / U-net-with-multiple-classification

44 stars 13 forks source link

import ERROR #6

Open erolgerceker opened 3 years ago

erolgerceker commented 3 years ago

Traceback (most recent call last): File "main.py", line 3, in from model import * File "C:\Users\GoLive_Erol\Desktop\Unet-with-multiple-classification\model.py", line 12, in from tensorflow.contrib.opt import AdamWOptimizer ModuleNotFoundError: No module named 'tensorflow.contrib'

i m using tf 2.3

erolgerceker commented 3 years ago

while using tf 1.15 . i m getting this error

ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow