Traceback (most recent call last):


 "/home/zhengr/anaconda3/envs/keypoint/lib/python3.5/multiprocessing/process.py", line 252, in _bootstrap

self.run()


 "/home/zhengr/anaconda3/envs/keypoint/lib/python3.5/multiprocessing/process.py", line 93, in run

self._target(*self._args, **self._kwargs)


 "/home/zhengr/Documents/projects/keypoints/AlphaPose/dataloader.py", line 315, in update

img, orig_img, im_name, im_dim_list = self.dataloder.getitem()


 "/home/zhengr/Documents/projects/keypoints/AlphaPose/dataloader.py", line 171, in getitem

return self.Q.get()


 "/home/zhengr/anaconda3/envs/keypoint/lib/python3.5/multiprocessing/queues.py", line 113, in get

return ForkingPickler.loads(res)


 "/home/zhengr/anaconda3/envs/keypoint/lib/python3.5/site-packages/torch/multiprocessing/reductions.py", line 86, in rebuild_storage_filename

storage = cls._new_shared_filename(manager, handle, size)
RuntimeError: No such file or directory at /pytorch/torch/lib/libshm/core.cpp:125

Traceback (most recent call last):


 "/content/OpenNMT-py/onmt/trainer.py", line 347, in _gradient_accumulation

trunc_size=trunc_size)


 "/content/OpenNMT-py/onmt/utils/loss.py", line 158, in __call__

loss, stats = self._compute_loss(batch, **shard)


 "/content/OpenNMT-py/onmt/utils/loss.py", line 233, in _compute_loss

scores = self.generator(bottled_output)


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

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


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

input = module(input)


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

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


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

return F.linear(input, self.weight, self.bias)


 "/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py", line 1352, in linear

ret = torch.addmm(torch.jit._unwrap_optional(bias), input, weight.t())
RuntimeError: Expected object of backend CPU but got backend CUDA for argument #4 'mat1'
