-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Description
I have an error at line 156 of fsns.py when running fsns_demo.py with an image from SVHN test dataset.
images = F.reshape(images, (batch_size, num_channels, height, 4, -1))
batch_size = 1
num_channels = 3
height = 48
width = 182
the error is raised in chainer.function.reshape() :
Invalid operation is performed in: Reshape (Forward)
Expect: prod(x.shape) % known_size(=576) == 0
Actual: 288 != 0
command line is
python ./chainer/fsns_demo.py --gpu -1 ./downloads/model/ model_35000.npz ./downloads/svhn/test/2.png ./datasets/svhn/svhn_char_map.json
thanks
Metadata
Metadata
Assignees
Labels
No labels