Skip to content

build problem on Windows10. #24

@qiaoba2hao

Description

@qiaoba2hao

❓ 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.

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