I have tried installing torch and torchvision from different sources but still cannot figure out why I am getting a segmentation fault error when running the following code.
after searching for the exact line that gives me the segmentation fault with the python debugger, I found out that this line from torch/utils/data/dataloader.py is causing it
base_seed = torch.LongTensor(1).random_().item() it is the line 255 of the file.
More unsetling is that the same program works perfectly on a different computer with the same OS (gentoo)
I have tried installing torch and torchvision from different sources but still cannot figure out why I am getting a segmentation fault error when running the following code.
after searching for the exact line that gives me the segmentation fault with the python debugger, I found out that this line from torch/utils/data/dataloader.py is causing it
base_seed = torch.LongTensor(1).random_().item()
it is the line 255 of the file.More unsetling is that the same program works perfectly on a different computer with the same OS (gentoo)
Thank you in advance for any help.