Tony607 / efficientnet_keras_transfer_learning

Transfer Learning with EfficientNet in Keras
88 stars 77 forks source link

Change tf.random_normal to tf.random.normal #5

Closed FlavrFlave closed 4 years ago

FlavrFlave commented 4 years ago

Tensorflow 2.0 comes with new aliases for random_normal. Using tf.random.normal instead of tf.random_normal should execute successfully. See https://stackoverflow.com/questions/59953127/tensorflow-2-1-0-has-no-attribute-random-normal