Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault(core dumped) #10

Open
Millielele opened this issue Apr 12, 2021 · 2 comments
Open

Segmentation fault(core dumped) #10

Millielele opened this issue Apr 12, 2021 · 2 comments

Comments

@Millielele
Copy link

when I run CUDA_VISIBLE_DEVICES=1 python generate_tsv.py --net res101 --dataset vg --out test.tsv --cuda
It said:

  load checkpoint load_dir/faster_rcnn_res101_vg.pth
  load model successfully!
  load model load_dir/faster_rcnn_res101_vg.pth
  Segmentation fault (core dumped)

why this happen? How to solve that?

CUDA10.0
python3.6
pytorch1.0
gcc 5.4

@Alchemistyui
Copy link

same problem... did you solve it?

@manmolecular
Copy link

manmolecular commented Oct 17, 2021

Same here, is there any solution?

EDIT: Solved by using the exact following packages (python3.6, conda)

conda install pytorch==1.0.1 torchvision==0.2.2 cudatoolkit=10.0 -c pytorch

versions from conda list:

cudatoolkit               10.0.130                      0
pytorch                   1.0.1           py3.6_cuda10.0.130_cudnn7.4.2_2    pytorch
torchvision               0.2.2                      py_3    pytorch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants