I’ve just posted a potential fix for this here. It just involves adding the lines
if isinstance(var.tag.test_value, np.ndarray):
if len(var.tag.test_value) == 1:
shared.type = theano.tensor.TensorType(var.dtype, (True,))
in model.py after this line.