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

Data format? #2

Closed
wchen342 opened this issue Jan 28, 2018 · 1 comment
Closed

Data format? #2

wchen342 opened this issue Jan 28, 2018 · 1 comment

Comments

@wchen342
Copy link

While reading

tf-SNDCGAN/libs/sn.py

Lines 15 to 17 in 6dce068

W_reshaped = tf.reshape(W, [-1, W_shape[-1]])
if u is None:
u = tf.get_variable("u", [1, W_shape[-1]], initializer=tf.truncated_normal_initializer(), trainable=False)
, I noticed you use W_shape[-1]. Did you assume data format is NHWC? So in the case I use NCHW, it should be changed to W_shape[1]?

@wchen342
Copy link
Author

Never mind, I missed the line in Readme..

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

1 participant