Closed brando90 closed 3 years ago
I don't know but it's a segmentation fault. Please ask the PyTorch dev team.
I don't know but it's a segmentation fault. Please ask the PyTorch dev team.
@moskomule I don't think this has something to do with pytorch. It only happens when using the anatome library. Are you parallelizing how you compute CCA? If you are it might be the issue since that means 2 of your threads are trying to access memory they don't have permission to (or something like that which is leading to the segmentation error).
Here are the links to the segmentation errors with pytorch and stack overflow (so):
@moskomule btw I am happy to help making it work for your library :-)
I currently believe from the research I did (on the pytorch forum etc) that it's unlikely a bug in pytorch (since it seems they fixed it since 0.4.0 and I think we are all using at leat 1 and on) but more likely a bug with anatome. Let me know if my question about multiple threading helps us track the bug. :)
small example:
but it always has a segmentation error:
why? how is this fixed?