Open nepm15 opened 3 weeks ago
Hi,
Have you installed the Microsoft c++ build tools? And also, can you let me know the version of your current PyTorch? Thanks!
Hi !
I have installed Microsoft c++ build tools, and uninstalled and reinstalled to double check. i was previously using pytorch 3.2.1 but following the updated instructions, I tried with 2.0.1
I still receive the assert.h error when trying to install detectron. I wonder if there are any unique instructions for the Visual Studio C++ install that I am missing. Does it require a different SDK for Windows 10 compared to the screen shot where you have Windows 11 SDK checked off? I tried both installs.
Thanks for your help.
Hi, You may try adding the Individual components of Windows 10 SDK, C++ CMake tools for Windows, and MSVC v142 - VS 2019 C++ build tools when installing the c++ build tools. See this thread: https://www.reddit.com/r/Oobabooga/comments/13iv9wu/visual_studio_compile_errors/?rdt=57195. You can also take a look at this: https://stackoverflow.com/questions/52325237/visual-studio-unable-to-find-assert-h. You may also try different versions of torch, like the newest, 2.4.0 or a previous 2.2.2 to see if they can help. This error seems to be originated from torch or c++ tools. Let me know whether this works or not. Thanks!
I have followed the installation instructions using a Windows 10 computer with NVIDIA GPU onboard using python version 3.9. I went through previous detectron2 issues in the Issues tab.
When attempting to install detectron2 - I get the following error which points to an error in assert.h file
Any suggestions on how to remedy this failure?
Thank you!