-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chapter2 code #15
Comments
I tried to debug this, but all i found out is that the problem is in |
I've also encountered this problem. it seems to work. However, I still don't know the difference between the methods and why the original code can not work correctly. The link is my test notebook |
|
Just find the same issue. Still don't understand what cause the problem and how to solve it.
Process finished with exit code 1 |
Try this : tf version 2.1.0 vae.compile(optimizer='rmsprop', loss=vae_loss, experimental_run_tf_function = False)
#vae.compile(loss=None,optimizer='rmsprop')
vae.summary() |
thank you! Without your comment , maybe I will drop this book ! |
the below errors occurred when i ran the Chapter_2_Autoencoder.ipynb
my env is the colab
Epoch 1/50
TypeError Traceback (most recent call last)
in ()
2 shuffle=True,
3 epochs=epochs,
----> 4 batch_size=batch_size)
9 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/func_graph.py in wrapper(*args, **kwargs)
975 except Exception as e: # pylint:disable=broad-except
976 if hasattr(e, "ag_error_metadata"):
--> 977 raise e.ag_error_metadata.to_exception(e)
978 else:
979 raise
TypeError: in user code:
The text was updated successfully, but these errors were encountered: