-
Notifications
You must be signed in to change notification settings - Fork 82
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
Compile ‘index_max’ fail. #22
Comments
Thanks for point this out. I have updated the index_max_ext module, which is ok on my system with python3.7+cuda10.1+pytorch1.1. Could you please try again and tell me the result? Previous the cuda operation is implemented with |
I also failed to compile in folder 'index_max_ext'. My system is python3.7 + Cuda 9.1 + PyTorch 1.1. |
That is weird since it is working fine on several computers in my lab. Anyway, I will try to solve it as soon as possible, but it may take some time. In the meantime, you may switch back to the |
@JeremyCJM @SkyeFromKindergarten The index_max_ext module has been updated for torch 1.2. Could you guys try again and give some feedbacks? Thanks! |
I can successfully compile on my mechine now :) |
Please make sure that the cuda environment is configured properly. For example, proper environment variables. For example, you may consider adding these lines to
Run After making sure that cuda and pytorch is installed properly, delete folder Finally, please make sure that the |
"Finally, please make sure that the index_max folder is not in the python path. There may be linking problems." |
The index_max_ext folder should NOT in the python path, otherwise it may cause confusion on the one you installed into python, or that "un-installed" folder. |
Hello, thank you very much for the open source of the code, the paper inspired me a lot. But there are some problems when replicating the code, about "import index_max", the compilation environment I use is pytorch1.12.0+cudatoolkit11.3., but I can't import it when importing index_max? How to solve it? |
hi, I met this issue too. Have you solved it ? |
Thanks for your working and new uploads ~
When compiling in file 'index_max_ext', I fail like below,
I cannot find why I fail. Do I have to use this new extension? I remember last time I run this code it does not need to be done.
Thanks and regards.
The text was updated successfully, but these errors were encountered: