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 #11

Open
Yshuo-Li opened this issue Mar 14, 2021 · 0 comments
Open

Segmentation fault #11

Yshuo-Li opened this issue Mar 14, 2021 · 0 comments

Comments

@Yshuo-Li
Copy link

python runner.py \
        --gpu 0\
        --phase 'test'\
        --weights './ckpt/IGNN_x4.pth'\
        --scale 4\
        --demopath [my_path]\
        --testname 'Demo'

By running the command, I got:

...
Using GPUs NUMBER: 1
[INFO] 2021-03-14 16:35:38.938372 Complete collecting files for TEST. Total test images: 100.
[DEBUG] 2021-03-14 16:35:41.253575 Parameters in IGNN: 49512553.
[INFO] 2021-03-14 16:35:44.150203 Recovering from ./ckpt/IGNN_x4.pth ...
[INFO] 2021-03-14 16:35:44.262738 Recover complete. Current Epoch #0, Best_PSNR = 0 at Epoch #0.
srun: error: SH-IDC2-172-20-21-49: task 0: Segmentation fault (core dumped)

Why Segmentation fault?
I found that this error is related to memory, it may be related to the acceleration of CUDA. Could I run the model on Pytorch only?

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

1 participant