Zerg-Overmind / Strivec

Official code for the paper: Strivec (ICCV2023)
142 stars 3 forks source link

Segmentation fault (core dumped) #5

Closed LiuShuai086 closed 10 months ago

LiuShuai086 commented 10 months ago

Hi, I had a problem when I trained the program.

It was "Segmentation fault (core dumped)", and I couldn't find feasible solution.

Could you give some instructions?

Zerg-Overmind commented 10 months ago

Hi, the problem was not witnessed on my side, could you please check your pytorch&cuda version?

LiuShuai086 commented 10 months ago

Thanks for your prompt reply. My pytorch&cuda version is 2.0.1+cu117. And I have tried different pytorch&cuda version (e.g. torch==1.10.0 or torch==1.11.0 ), but the same error happened again. Sometimes the error would be 'Aborted (core dumped)'.

Zerg-Overmind commented 10 months ago

Hi, could you also try these two combinations? Cuz these two work for me.

LiuShuai086 commented 10 months ago

I remove the conda environment and create it again, install the torch&cuda, then 'pip install' the module needed. Finally, it works. Maybe libraries incompatibility cause this problem.