rodrigo2019 / keras_yolo2

MIT License
46 stars 15 forks source link

Cannot import name 'Adam' from 'keras.optimizers' #27

Open aiTrainee opened 2 years ago

aiTrainee commented 2 years ago

Hi, I get this error and it's resolved if I do: tf.keras.optimizers. The version is:

python3 -c 'import keras; print(keras.version)' // 2.4.3 2.7.0 I get the same error for: from keras.applications import InceptionV3 But I think that solving the problem with tf.keras isn't a good idea because I'm mixing different versions which impact the training. (I get 0.0 as mAP)

rodrigo2019 commented 2 years ago

It's been a while since I've maintained this repository, it's outdated, have you ever looked at yolov5?