You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
I was unable to import _ext module. As I think that this is related to compiling the Pointnet2 layers I tried to compile Pointnet2 independently, but then again when I try compiling them I get a ValueError:
File "C:\ProgramData\Anaconda3\lib\site-packages\colorama\ansitowin32.py", line 59, in closed
return stream.closed
ValueError: underlying buffer has been detached
related to the environment or the error in the title. My environment is:
Python 3.8.8
Pytorch '1.7.1+cu101'
CUDA 10.1 with an NVIDIA GeForce GTX 1080 and the driver version is 496.13
Running in Windows 10x64
I suspected the error had something to do with the C++ compiler, I then installed VS 2019, and ran the code from a Developer's cmd.
It didn't work. I then found a tip online that the code works with the same above environment but with python 3.7 and VS 2017, so I set the environment as:
Python 3.7.13
Pytorch '1.7.1+cu101'
CUDA 10.1 with an NVIDIA GeForce GTX 1080 and the driver version is 496.13
Running in Windows 10x64 and Visual Studio (with C++ build tools) 2019
I still got the same error, the error is as follows this is when running:
Not quite. I've tried an alternative, you can find the details here: https://github.com/YoElsheikh/realsense_python_ergeb#Update-19.07.2022 under "update-19.07.2022", it's in german but I basically tried using WSL2, which has a native linux kernel to compile the pointnet++ cuda layers with the g++ compiler, it should work as described.
I however ran into a hardware problem that had to do with my hardware setting. You can compile the layers both in WSL2 and using Docker after setting the correct environment variables, even better if you use ubuntu. Good luck!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I was unable to import _ext module. As I think that this is related to compiling the Pointnet2 layers I tried to compile Pointnet2 independently, but then again when I try compiling them I get a ValueError:
related to the environment or the error in the title. My environment is:
I suspected the error had something to do with the C++ compiler, I then installed VS 2019, and ran the code from a Developer's cmd.
It didn't work. I then found a tip online that the code works with the same above environment but with python 3.7 and VS 2017, so I set the environment as:
I still got the same error, the error is as follows this is when running:
Does anyone have tips?
The text was updated successfully, but these errors were encountered: