titu1994 / Super-Resolution-using-Generative-Adversarial-Networks

An implementation of SRGAN model in Keras
283 stars 85 forks source link

Traceback (most recent call last): #29

Open hua0719 opened 7 years ago

hua0719 commented 7 years ago

Traceback (most recent call last): File "D:/python file/Super-Resolution-using-Generative-Adversarial-Networks-master/models.py", line 10, in from keras_ops import fit as bypass_fit, smooth_gan_labels File "D:\python file\Super-Resolution-using-Generative-Adversarial-Networks-master\keras_ops.py", line 5, in from keras.engine.training import objectives, standardize_input_data, slice_X, \ ImportError: cannot import name 'objectives'

mbeach42 commented 7 years ago

"objectives" is depreciated and has been replaced by "losses"