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

Can't run on whole dataset #14

Open
Adnan1986 opened this issue Feb 6, 2023 · 2 comments
Open

Can't run on whole dataset #14

Adnan1986 opened this issue Feb 6, 2023 · 2 comments

Comments

@Adnan1986
Copy link

Hi,

I wen to run the code based on pytorch_version instaruction(cpu). When I am going to run the BASS.py for some number of superpixels, There is no warning.errors, while for some number of superpixels, I got following errors for some images:
image

I alread had some modification:
Nk.index_add_(0, argmax, Global.ones) to Nk.index_add_(0, argmax.long(), Global.ones)

This one fixed a little bit but, still for some number of superpixel I got Segmentation fault (core dumped)

Is there a way to fix this.

Thanks

@uzielroy
Copy link
Collaborator

uzielroy commented Feb 6, 2023

Hi, please provide additional information.
On what image are you trying to run BASS?
What is the initial number of SP?
Please try and run in verbose. (-v)

@Adnan1986
Copy link
Author

Hi, please provide additional information. On what image are you trying to run BASS? What is the initial number of SP? Please try and run in verbose. (-v)

Thank you for your tips.
In fact since I was running the code within BSDS dataset and various number of SPs, for sp=600, each time for different image I got Segmentation fault (core dumped). but now by adding verbose(--v), I run the code for entire dataset without problem.
now I got this error again for sp=1400 with the image=201080 and 20069.
It sounds this error would happen randomly.

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

2 participants