Traceback (most recent call last):


 "neural_style/neural_style.py", line 239, in <module>

main()


 "neural_style/neural_style.py", line 233, in main

train(args)


 "neural_style/neural_style.py", line 78, in train

features_x = vgg(x)


 "/home/dell/sbull/onnx/env/lib/python3.5/site-packages/torch/nn/modules/module.py", line 491, in __call__

result = self.forward(*input, **kwargs)


 "/home/dell/sbull/onnx/examples/fast_neural_style/neural_style/vgg.py", line 28, in forward

h = self.slice1(X)


 "/home/dell/sbull/onnx/env/lib/python3.5/site-packages/torch/nn/modules/module.py", line 491, in __call__

result = self.forward(*input, **kwargs)


 "/home/dell/sbull/onnx/env/lib/python3.5/site-packages/torch/nn/modules/container.py", line 91, in forward

input = module(input)


 "/home/dell/sbull/onnx/env/lib/python3.5/site-packages/torch/nn/modules/module.py", line 491, in __call__

result = self.forward(*input, **kwargs)


 "/home/dell/sbull/onnx/env/lib/python3.5/site-packages/torch/nn/modules/conv.py", line 301, in forward

self.padding, self.dilation, self.groups)
RuntimeError: Expected object of type torch.FloatTensor but found type torch.cuda.FloatTensor for argument #2 'weight'

Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/autokey/service.py", line 207, in __tryReleaseLock

self.configManager.lock.release()
RuntimeError: release unlocked lock
