Traceback (most recent call last):


 "/home/hxy/pytorch-retinanet/visualize.py", line 98, in <module>

main()


 "/home/hxy/pytorch-retinanet/visualize.py", line 68, in main

scores, classification, transformed_anchors = retinanet(data['img'].cuda(device).float())


 "/home/hxy/anaconda3/envs/py4/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

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


 "/home/hxy/anaconda3/envs/py4/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 123, in forward

outputs = self.parallel_apply(replicas, inputs, kwargs)


 "/home/hxy/anaconda3/envs/py4/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 133, in parallel_apply

return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])


 "/home/hxy/anaconda3/envs/py4/lib/python3.6/site-packages/torch/nn/parallel/parallel_apply.py", line 77, in parallel_apply

raise output


 "/home/hxy/anaconda3/envs/py4/lib/python3.6/site-packages/torch/nn/parallel/parallel_apply.py", line 53, in _worker

output = module(*input, **kwargs)


 "/home/hxy/anaconda3/envs/py4/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

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


 "/home/hxy/pytorch-retinanet/model.py", line 262, in forward

transformed_anchors = self.regressBoxes(anchors, regression)


 "/home/hxy/anaconda3/envs/py4/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__

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


 "/home/hxy/pytorch-retinanet/utils.py", line 100, in forward

dx = deltas[:, :, 0] * self.std[0] + self.mean[0]
RuntimeError: arguments are located on different GPUs at /opt/conda/conda-bld/pytorch_1532579245307/work/aten/src/THC/generated/../generic/THCTensorMathPointwise.cu:314

Traceback (most recent call last):


 "/var/lib/awx/venv/awx/bin/awx-manage", line 11, in <module>

load_entry_point('awx==9.0.1.0', 'console_scripts', 'awx-manage')()


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/__init__.py", line 158, in manage

execute_from_command_line(sys.argv)


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line

utility.execute()


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv

self.execute(*args, **cmd_options)


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 364, in execute

output = self.handle(*args, **options)


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 1153, in handle

raise exc


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 1043, in handle

venv_path=venv_path, verbosity=self.verbosity).load()


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 214, in load

return self.command_to_json(base_args + ['--list'])


 "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 197, in command_to_json

self.method, proc.returncode, stdout, stderr))
RuntimeError: ansible-inventory failed (rc=1) with stdout:
