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:

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
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:

I alread had some modification:
Nk.index_add_(0, argmax, Global.ones)toNk.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