File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ # Native installation instructions (without the need for docker)
2+
3+ We need older version of detectron2, and older version of pytorch.
4+ Being guided by package selection and versions from Dockerfile.
5+
6+ Pyorch 1.10 requires Python 3.9 or older. Python 3.8 is used in Dockerfile.
7+ Compiling detectron2 from source requires VS2019 or VS2017.
8+
9+ Start VS x64 command prompt, then:
10+ ``` cmd
11+ set DISTUTILS_USE_SDK=1
12+ "C:\Program Files\Python38\python.exe" -m venv .venv38
13+ .venv38\Scripts\activate
14+ pip install --upgrade setuptools==69.5.1
15+
16+ pip install torch==1.10.1+cu113 -f https://download.pytorch.org/whl/torch/
17+ pip install torchvision==0.11.2+cu113 -f https://download.pytorch.org/whl/torchvision/
18+ pip install torchaudio==0.10.1 -f https://download.pytorch.org/whl/torchaudio/
19+
20+ pip install detectron2@git+https://github.com/facebookresearch/[email protected] 21+ ```
Original file line number Diff line number Diff line change @@ -81,9 +81,13 @@ def prerelease_local_scheme(version):
8181 'girder-client' ,
8282 # cli
8383 'ctk-cli' ,
84+ # later determined dependencies
8485 'zarr<3.0' ,
86+ 'portalocker==2.3.2' ,
87+ 'onnx' ,
8588 # detectron2 is installed in the dockerfile, so it needs to be commented out here
86- # 'detectron2 @ git+https://github.com/facebookresearch/detectron2@main', # v0.6+patches
89+ # 'detectron2@git+https://github.com/facebookresearch/detectron2@main', # v0.6+patches
90+ # 'detectron2@git+https://github.com/facebookresearch/[email protected] ', # latest version crashes 8791 ],
8892 license = 'Apache Software License 2.0' ,
8993 keywords = 'multic' ,
You can’t perform that action at this time.
0 commit comments