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

Failed to import 'elsa_ext' and 'elsa_faster_ext' #2

Open
SIAOHEO opened this issue Jan 19, 2022 · 4 comments
Open

Failed to import 'elsa_ext' and 'elsa_faster_ext' #2

SIAOHEO opened this issue Jan 19, 2022 · 4 comments

Comments

@SIAOHEO
Copy link

SIAOHEO commented Jan 19, 2022

from . import elsa_ext, elsa_faster_ext in file elsa.py

there's always red line under elsa_ext, elsa_faster_ext

@theFoxofSky
Copy link
Collaborator

please build the elsa operation:

cd ./cls/models/elsa
python setup.py install
mv build/lib*/* .
cp *.so ../../../det/mmdet/models/backbones/elsa/
cp *.so ../../../seg/mmseg/models/backbones/elsa/
cd ../../../

@zhouyi-git
Copy link

Please give Elsa_ ext, elsa_ faster_ The detailed steps of ext configuration always show errors

@zhouyi-git
Copy link

ImportError: dynamic module does not define module export function (PyInit_elsa_faster_ext)

@theFoxofSky
Copy link
Collaborator

Please make sure to build the ".so" files and move them into the correct dictionary.

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

3 participants