You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: Dimensions must be equal, but are 8 and 128 for 'Generator.1.Shortcut/Conv2D' (op: 'Conv2D') with input shapes: [?,128,8,8], [1,1,128,128].
#21
Open
rookiexiao123 opened this issue
Dec 26, 2019
· 1 comment
hi, I was using WGAN to run your code with the learned model.but did't success.the error is the title.
`def Generator_Resnet_32(cfg, n_samples, labels, noise=None, is_training=True):
if noise is None:
noise = tf.random_normal([n_samples, 128])
add_dim = 0
if cfg.LAYER_COND:
y = labels
noise = tflib.ops.concat.concat([noise, y], 1)
add_dim = cfg.N_LABELS
output = lib.ops.linear.Linear('Generator.Input', 128 + add_dim, 4 * 4 * cfg.DIM_G, noise)
output = tf.reshape(output, [-1, cfg.DIM_G, 4, 4])`
in conv2d.py, the filters and the inputs had the problem.
the ResidualBlock can't go on.what should I do something? Can you give me some advice?
The text was updated successfully, but these errors were encountered: