-
Notifications
You must be signed in to change notification settings - Fork 55
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
build problem on Windows10. #24
Comments
The answer has been found. comment "static constexpr Symbol Kind" in "/torch/include/torch/csrc/jit/ir/ir.h" |
I am using a windows 10 machine with the following configuration https://dgmaxime.medium.com/how-to-easily-install-detectron2-on-windows-10-39186139101c I have succesfully tested PyTorch installation however in the link given when I come to Step 5
My setup of detectron2 fails and gives me a huge list of errors that start with Running setup.py develop for detectron2 .... which goes on for almost hundreds of lines. Any help will be really appreciated. Thanks |
❓ Questions and Help
python: 3.6.0
torch: 1.7.0
the problem was shown as this:
FAILED: D:/GitHub/LocalFiles/detectron2/build/temp.win-amd64-3.6/Release/GitHub/LocalFiles/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.obj
and the detail is this:
D:/Anaconda3/envs/mainenv/lib/site-packages/torch/include\torch/csrc/jit/ir/ir.h(1347): error: member "torch::jit::ProfileOptionalOp::Kind" may not be initialized
1 error detected in the compilation of "C:/Users/aac/AppData/Local/Temp/tmpxft_000049ec_00000000-7_deform_conv_cuda.cpp1.ii".
deform_conv_cuda.cu
ninja: build stopped: subcommand failed.
If some setting is not prepared? For help.
The text was updated successfully, but these errors were encountered: