Skip to content

Cannot import index_max module #15

@zeal-up

Description

@zeal-up

My environment:
cuda10.0
pytroch1.2/1.4
python3.6

I have successfully compiled index_max and the module is installed in 'xx/xx/python3.6/site-packages/index_max-0.0.0-py3.6-linux-x86_64.egg/index_max.cpython-36m-x86_64-linux-gnu.so'.
However, when I try to import index_max, it raised up an error:

python3.6/site-packages/index_max-0.0.0-py3.6-linux-x86_64.egg/index_max.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZTIN3c1021AutogradMetaInterfaceE

I have also another question, I am not familiar with Cuda, the index_max seems used to achieve max_pooling along the feature dimension for all point besides one som cluster. Do I understand right? How much a cuda implemention speed up compare with a python implementation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions