Skip to content

Commit

Permalink
Fix channels
Browse files Browse the repository at this point in the history
  • Loading branch information
tsurumeso committed Dec 29, 2019
1 parent 5804c6d commit fa91111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def main():
print('* check forward path...', end=' ')
di = train_config.in_size
do = train_config.out_size
dx = model.xp.zeros((args.batch_size, 3, di, di), dtype=np.float32)
dx = model.xp.zeros((args.batch_size, ch, di, di), dtype=np.float32)
dy = model(dx)
if dy.shape[2:] != (do, do):
raise ValueError('Invlid output size\n'
Expand Down

0 comments on commit fa91111

Please sign in to comment.