I can't figure out how to correct this error:
ValueError: the batch size in the image (2) at run time is different than at build time (10) for the ConvOp.
Apply node that caused the error: ConvOp{('imshp', (1, 28, 28)),('kshp', (28, 28)),('nkern', 50),('bsize', 10),('dx', 1),('dy', 1),('out_mode', 'valid'),('unroll_batch', 5),('unroll_kern', 2),('unroll_patch', False),('imshp_logical', (1, 28, 28)),('kshp_logical', (28, 28)),('kshp_logical_top_aligned', True)}(Subtensor{int64:int64:}.0, Subtensor{::, ::, ::-1, ::-1}.0)
Inputs shapes: [(2, 1, 28, 28), (50, 1, 28, 28)]
Inputs strides: [(6272, 6272, 224, 8), (6272, 6272, -224, -8)]
I made mb_size=1, and it works but i'd like to work with larger minibatches, so can you please help me out here?
I can't figure out how to correct this error:
ValueError: the batch size in the image (2) at run time is different than at build time (10) for the ConvOp.
Apply node that caused the error: ConvOp{('imshp', (1, 28, 28)),('kshp', (28, 28)),('nkern', 50),('bsize', 10),('dx', 1),('dy', 1),('out_mode', 'valid'),('unroll_batch', 5),('unroll_kern', 2),('unroll_patch', False),('imshp_logical', (1, 28, 28)),('kshp_logical', (28, 28)),('kshp_logical_top_aligned', True)}(Subtensor{int64:int64:}.0, Subtensor{::, ::, ::-1, ::-1}.0)
Inputs shapes: [(2, 1, 28, 28), (50, 1, 28, 28)]
Inputs strides: [(6272, 6272, 224, 8), (6272, 6272, -224, -8)]
I made mb_size=1, and it works but i'd like to work with larger minibatches, so can you please help me out here?