Traceback (most recent call last):


 "/Users/carbon/Dev/anaconda/envs/DL/bin/make_image_analogy.py", line 27, in <module>

image_analogy.main.main(args, model_class)


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/image_analogy/main.py", line 71, in main

model.build(a_image, ap_image, b_image, (1, img_num_channels, img_height, img_width))


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/image_analogy/models/base.py", line 23, in build

loss = self.build_loss(a_image, ap_image, b_image)


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/image_analogy/models/analogy.py", line 37, in build_loss

patch_stride=self.args.patch_stride)


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/image_analogy/losses/analogy.py", line 28, in analogy_loss

best_a_prime_patches = find_analogy_patches(a, a_prime, b, patch_size=patch_size, patch_stride=patch_stride)


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/image_analogy/losses/analogy.py", line 14, in find_analogy_patches

a_patches, a_patches_norm = patches.make_patches(K.variable(a), patch_size, patch_stride)


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/image_analogy/losses/patches.py", line 14, in make_patches

mode='valid')


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/theano/tensor/nnet/neighbours.py", line 714, in images2neibs

return Images2Neibs(mode)(ten4, neib_shape, neib_step)


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/theano/gof/op.py", line 615, in __call__

node = self.make_node(*inputs, **kwargs)


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/theano/tensor/nnet/neighbours.py", line 101, in make_node

ten4 = T.as_tensor_variable(ten4)


 "/Users/carbon/Dev/anaconda/envs/DL/lib/python3.6/site-packages/theano/tensor/basic.py", line 200, in as_tensor_variable

raise AsTensorError("Cannot convert %s to TensorType" % str_x, type(x))
theano.tensor.var.AsTensorError: ('Cannot convert Tensor("ExpandDims:0", shape=(1, 256, 32, 22), dtype=float32) to TensorType', <class 'tensorflow.python.framework.ops.Tensor'>)

> Traceback (most recent call last):

 "C:\Users\Matthew\code\MusicBot-develop\musicbot\bot.py", line 433, in handle_play
time_until = await player.playlist.estimate_time_until(position, player)

 "C:\Users\Matthew\code\MusicBot-develop\musicbot\playlist.py", line 144, in estimate_time_until
estimated_time += player.current_entry.duration - player.progressAttributeError: 'NoneType' object has no attribute 'duration'