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

make_template('shared_model',model) #30

Closed
EricKani opened this issue Jan 31, 2018 · 2 comments
Closed

make_template('shared_model',model) #30

EricKani opened this issue Jan 31, 2018 · 2 comments

Comments

@EricKani
Copy link

Hi,
I have a question about shared_model = tf.make_template('shared_model', model) in line 104 in the VDSR.py. Is this operation have some advantages? thank you very much!
And the second question is whether the way of data_reading in your code can replace the way of tfrecords?

@EricKani
Copy link
Author

EricKani commented Feb 1, 2018

Hi,
The first question I think I have solved it. "tf.make_template" is used for the variable sharing, like using "with the tf.variable_scope( ' ', reuse = True)".
Is that right?

@Jongchan
Copy link
Owner

Jongchan commented Feb 1, 2018

@EricKani Yes, that is correct!

@Jongchan Jongchan closed this as completed Feb 1, 2018
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