Skip to content
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

something about the Summary #51

Open
liuqinying opened this issue Dec 28, 2017 · 1 comment
Open

something about the Summary #51

liuqinying opened this issue Dec 28, 2017 · 1 comment

Comments

@liuqinying
Copy link

liuqinying commented Dec 28, 2017

In your code "capsNet.py",you add "self.decoded" to the "tf.summary.image" as "recon_img ",but self.X= input_image/255,and in your code
"
orgin = tf.reshape(self.X, shape=(cfg.batch_size, -1))

    squared = tf.square(self.decoded - orgin)

    self.reconstruction_err = tf.reduce_mean(squared)

"
so self.decoded is not reconstructed image,you need to multiply it by 255,right?

@liuqinying liuqinying changed the title something about the capsNet.py Cancel Dec 28, 2017
@liuqinying liuqinying changed the title Cancel nothing Dec 28, 2017
@liuqinying liuqinying changed the title nothing something about the Summary Jan 8, 2018
@naturomics
Copy link
Owner

tf.summary.image can deal with this problem and display the images correctly. It's OK since we just want to display it on tensorboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants