Traceback (most recent call last):


 "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "/home/ec2-user/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/sagemaker/local/image.py", line 539, in run

raise RuntimeError(msg)
RuntimeError: Failed to run: ['docker-compose', '-f', '/tmp/tmpuc6hixqf/docker-compose.yaml', 'up', '--build', '--abort-on-container-exit'], Process exited with code: 1

Traceback (most recent call last):


 "detection.py", line 156, in <module>

main(config)


 "detection.py", line 128, in main

P = torch.sigmoid(model(scratch_image))


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl

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


 "/content/photo_restoration/Global/detection_models/networks.py", line 110, in forward

x = self.first(x)


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl

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


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 117, in forward

input = module(input)


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl

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


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/conv.py", line 423, in forward

return self._conv_forward(input, self.weight)


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/conv.py", line 420, in _conv_forward

self.padding, self.dilation, self.groups)
RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same
