-
Notifications
You must be signed in to change notification settings - Fork 15k
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
possible issue at: tensorflow_v2/notebooks/3_NeuralNetworks/autoencoder.ipynb #406
Comments
已经收到您的邮件。
|
您好!很开心收到您的邮件。我将在查看邮件后,尽快给您回复。
|
Your comment helped me. Thank you! |
已经收到您的邮件。
|
这是来自QQ邮箱的假期自动回复邮件。您好,您的邮件已经收到。谢谢您,祝顺利。
|
谢谢您给马坤发送邮件,我会及时查看的,谢谢,辛苦了
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referring to the notebook:
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/tensorflow_v2/notebooks/3_NeuralNetworks/autoencoder.ipynb
In the following code portion (8th code block of the notebook):
`# Optimization process.
def run_optimization(x):
# Wrap computation inside a GradientTape for automatic differentiation.
with tf.GradientTape() as g:
reconstructed_image = decoder(encoder(x))
loss = mean_square(reconstructed_image, x)
the line:
trainable_variables = weights.values() + biases.values()
results to me in an error due to the impossibility of summing two python dict_values. I personally solved the issue by converting both dict_values to lists:
trainable_variables = list(weights.values()) + list(biases.values())
I hope my issue is of utility for this great repo! Thank you for the work
The text was updated successfully, but these errors were encountered: