carpedm20 / carpedm20/DCGAN-tensorflow

different tensor dimensions from original paper in generator

Open
#273 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Hello, I noticed that the generator and the sampler have different dimensions than in the original paper.
For example, in sampler, `h0 = tf.reshape(linear(z, self.gf_dim*8*s_h16*s_w16, 'g_h0_lin'), [-1, s_h16, s_w16, self.gf_dim * 8])`, I think self.gf_dim should be multiplied by 16 in order to reproduce the dimensions in the original paper. Is there any reason behind multiplying it only by 8 and thus having only half of that dimension?

Thank you very much!

P.S. also referencing #214

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the sampler expression for h0 in the issue and compare its tensor dimensions with the original paper and the corresponding generator dimensions. Review the discussion referenced in #214 and determine whether the factor of 8 is intentional. Done means resolving the discrepancy with a documented rationale or an aligned implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.