Ubuntu : 16.04 server
python3.6
pytorch:0.2.0_3
Error : RuntimeError: unable to write to file </torch_18693_1954506624> at /pytorch/torch/lib/TH/THAllocator.c:271
I have encounted this error When  run pytorch code in ubuntu server.
when debuging the code, i found the error occured at DataLoader.
The dataset’s  __getitem__ method returned (img, label), the img’s type is ndarray. and i also tried returning img Tensor  but in that condition, the process is blocked.
The code run properly at local, but failed at server.
What should i do to fix that?
Thanks!