alexandrosstergiou / SoftPool

[ICCV 2021] Code for approximated exponential maximum pooling
MIT License
288 stars 52 forks source link

about import softpool_cuda #8

Closed PJJie closed 3 years ago

PJJie commented 3 years ago

Import softtool cuda error,his package is softpool in CUDA folder cuda.cpp? image

alexandrosstergiou commented 3 years ago

Hi @PJJie,

The softpool_cuda is the GPU-accelerated package created when you run make install. Not being able to import it means that the package has not been created.

Best, Alex

heiheihei-ops commented 3 years ago

But it still have some problem to import 'softpool_cuda' after I successfully run 'make install' , waiting for your help, thanks a lot ! image

PJJie commented 3 years ago

Hi @PJJie,

The softpool_cuda is the GPU-accelerated package created when you run make install. Not being able to import it means that the package has not been created.

Best, Alex But it still have some problem to import 'softpool_cuda' after I successfully run 'make install' , waiting for your help, thanks a lot ! image

alexandrosstergiou commented 3 years ago

But it still have some problem to import 'softpool_cuda' after I successfully run 'make install' , waiting for your help, thanks a lot ! image

Can you first import torch and then import softpool_cuda ? Some symbols are dynamically linked to torch which if not loaded first softpool_cuda will also fail to load.

Best, Alex

heiheihei-ops commented 3 years ago

But it still have some problem to import 'softpool_cuda' after I successfully run 'make install' , waiting for your help, thanks a lot ! image

Can you first import torch and then import softpool_cuda ? Some symbols are dynamically linked to torch which if not loaded first softpool_cuda will also fail to load.

Best, Alex

you're right, thank you !

alexandrosstergiou commented 3 years ago

Closing due to inactivity. Feel free to open if the issue is still present.