@@ -26,41 +26,6 @@ CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python -m pip install ...
2626To __ rebuild__ detectron2 that's built from a local clone, use ` rm -rf build/ **/*.so ` to clean the
2727old build first. You often need to rebuild detectron2 after reinstalling PyTorch.
2828
29- ### Install Pre-Built Detectron2 (Linux only)
30-
31- Choose from this table to install [ v0.6 (Oct 2021)] ( https://github.com/facebookresearch/detectron2/releases ) :
32-
33- <table class =" docutils " ><tbody ><th width =" 80 " > CUDA </th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.10</th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.9</th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.8</th > <tr ><td align =" left " >11.3</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
34- https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html
35- </code ></pre > </details > </td > <td align =" left " > </td > <td align =" left " > </td > </tr > <tr ><td align =" left " >11.1</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
36- https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.10/index.html
37- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
38- https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.9/index.html
39- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
40- https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.8/index.html
41- </code ></pre > </details > </td > </tr > <tr ><td align =" left " >10.2</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
42- https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.10/index.html
43- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
44- https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html
45- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
46- https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.8/index.html
47- </code ></pre > </details > </td > </tr > <tr ><td align =" left " >10.1</td ><td align =" left " > </td > <td align =" left " > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
48- https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.8/index.html
49- </code ></pre > </details > </td > </tr > <tr ><td align =" left " >cpu</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
50- https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.10/index.html
51- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
52- https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.9/index.html
53- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
54- https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.8/index.html
55- </code ></pre > </details > </td > </tr ></tbody ></table >
56-
57- Note that:
58- 1 . The pre-built packages have to be used with corresponding version of CUDA and the official package of PyTorch.
59- Otherwise, please build detectron2 from source.
60- 2 . New packages are released every few months. Therefore, packages may not contain latest features in the main
61- branch and may not be compatible with the main branch of a research project that uses detectron2
62- (e.g. those in [ projects] ( projects ) ).
63-
6429### Common Installation Issues
6530
6631Click each issue for its solutions:
0 commit comments