Try to search your question here, if you can't find : Ask Any Question Now ?

Keras trains model, tf.Keras does not

HomeCategory: stackoverflowKeras trains model, tf.Keras does not
Avatarsourav asked 1 week ago

Starting to learn Keras after using “pure” Tensorflow, I was reading this guide for auto encoders: (in particular, the section “Let’s build the simplest possible autoencoder”).

If I use the code as shown on the page, it works fine and I am able to reproduce the results. But if I use tensorflow.keras instead of the standalone keras (simply by changing the import lines), the training fails. The loss starts at about 0.69 and never deviates a lot; the output after 50 epochs looks like entirely random noise.

Can someone explain this to me? I thought that the functionality of standalone Keras and TF Keras is supposed to be the same.

1 Answers
Best Answer
AvatarAmit answered 1 week ago
Your Answer

18 + 0 =

Popular Tags

WP Facebook Auto Publish Powered By :