Tony607 / efficientnet_keras_transfer_learning

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

tf.random_normal #13

Open AinalFM opened 8 months ago

AinalFM commented 8 months ago

Hello, I would like to ask you about tf.random_normal. It's getting an error when importing efficient-net. As mentioned in StackOverflow, the error was caused by a new way of writing. It should be written as tf.random.normal instead of tf.random_normal (because we use Tensorflow 2.x). When I try to change and save it in models.py, it still returns an error. Why can it be like that? Could you help me explain that? Thank you