Install Detectron2 on Windows 10
I try to install Facebook's Detectron2 followed this official repo. Following that repo, detectron2 can only install on linux. However, I'm working on a server run on Windows operator. Anybody know how to install it on Windows?

Answer found through this issue: https://github.com/facebookresearch/detectron2/issues/9
These steps worked for me on my RTX 3070.

Install Anaconda https://docs.anaconda.com/anaconda/install/windows/
Create a environment.yml file containing the following code.

name: detectron2
channels:
  - pytorch
  - conda-forge
  - anaconda
  - defaults
dependencies:
  - python=3.8
  - numpy
  - pywin32
  - cudatoolkit=11.0
  - pytorch==1.7.1
  - torchvision
  - git
  - pip
  - pip:
    - git+https://github.com/facebookresearch/detectron2.git@v0.3


Launch the Anaconda terminal, navigate to the yml file and run conda env create -f environment.yml

Activate the environment conda activate detectron2


And you're good to go.
Edit: This works without issue if you run your script within the anaconda terminal but I was also having this issue ImportError: DLL load failed: The specified module could not be found. with numpy and Pillow when running the script from VS Code so if you happen to have this issue, I fixed it by uninstalling and reinstalling the troubled modules from within the anaconda terminal.
pip uninstall numpy
pip install numpy

