ArcticHare105 / SPIN

The offical implementation of "Lightweight Image Super-Resolution with Superpixel Token Interaction" (ICCV2023)
MIT License
80 stars 9 forks source link

compile cuda source of 'pair_wise_distance' function... #11

Open await-you opened 10 months ago

await-you commented 10 months ago

compile cuda source of 'pair_wise_distance' function... NOTE: if you avoid this process, you make .cu file and compile it following https://pytorch.org/tutorials/advanced/cpp_extension.html

when the code run to here ,it paused sometimes. However sometimes it can run successfully and generate results.

Have you searchers met that problem? And I will be grateful if you could help me address this issue.

await-you commented 10 months ago

image

yeruohan commented 10 months ago

I also encountered this problem. Have you solved it

xxuantgo commented 8 months ago

I also encountered the same problem and couldn't find a suitable solution. May I ask if you have resolved it?

gauenk commented 8 months ago

If you want to compile it only once, you can checkout the "setup.py" script in this PR