carpedm20 / carpedm20/DCGAN-tensorflow

A question in the generator in model.py

Open
#214 1 comment 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

In Line 352~353:
self.z_, self.h0_w, self.h0_b = linear(
z, self.gf_dim*8*s_h16*s_w16, 'g_h0_lin', with_w=True)

where is the 8 coming from in self.gf_dim*8*s_h16*s_w16? I can understand gf_dim is the filter size, s_h16 is 4 and s_w16 is 4 as well. What is 8 here? Stride size?

Thanks,

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in model.py at lines 352-353 and inspect the surrounding generator definition and the linear layer usage. Trace the dimensions used there to identify what the multiplier represents, then provide a concise explanation in the issue response or relevant documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.