@@ -33,38 +33,40 @@ old build first. You often need to rebuild detectron2 after reinstalling PyTorch
33
33
34
34
### Install Pre-Built Detectron2 (Linux only)
35
35
36
- Choose from this table to install [ v0.2.1 (Aug 2020)] ( https://github.com/facebookresearch/detectron2/releases ) :
36
+ Choose from this table to install [ v0.3 (Nov 2020)] ( https://github.com/facebookresearch/detectron2/releases ) :
37
37
38
- <table class =" docutils " ><tbody ><th width =" 80 " > CUDA </th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.6</th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.5</th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.4</th > <tr ><td align =" left " >10.2</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
38
+ <table class =" docutils " ><tbody ><th width =" 80 " > CUDA </th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.7</th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.6</th ><th valign =" bottom " align =" left " width =" 100 " >torch 1.5</th > <tr ><td align =" left " >11.0</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
39
+ https://dl.fbaipublicfiles.com/detectron2/wheels/cu110/torch1.7/index.html
40
+ </code ></pre > </details > </td > <td align =" left " > </td > <td align =" left " > </td > </tr > <tr ><td align =" left " >10.2</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
41
+ https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.7/index.html
42
+ </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
39
43
https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.6/index.html
40
44
</code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
41
45
https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.5/index.html
42
- </code ></pre > </details > </td > <td align =" left " > </td > </tr > <tr ><td align =" left " >10.1</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
46
+ </code ></pre > </details > </td > </tr > <tr ><td align =" left " >10.1</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
47
+ https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.7/index.html
48
+ </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
43
49
https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.6/index.html
44
50
</code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
45
51
https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.5/index.html
46
- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
47
- https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.4/index.html
48
- </code ></pre > </details > </td > </tr > <tr ><td align =" left " >10.0</td ><td align =" left " > </td > <td align =" left " > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
49
- https://dl.fbaipublicfiles.com/detectron2/wheels/cu100/torch1.4/index.html
50
52
</code ></pre > </details > </td > </tr > <tr ><td align =" left " >9.2</td ><td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
53
+ https://dl.fbaipublicfiles.com/detectron2/wheels/cu92/torch1.7/index.html
54
+ </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
51
55
https://dl.fbaipublicfiles.com/detectron2/wheels/cu92/torch1.6/index.html
52
56
</code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
53
57
https://dl.fbaipublicfiles.com/detectron2/wheels/cu92/torch1.5/index.html
54
- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
55
- https://dl.fbaipublicfiles.com/detectron2/wheels/cu92/torch1.4/index.html
56
58
</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 \
59
+ https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.7/index.html
60
+ </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
57
61
https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.6/index.html
58
62
</code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
59
63
https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.5/index.html
60
- </code ></pre > </details > </td > <td align =" left " ><details ><summary > install </summary ><pre ><code >python -m pip install detectron2 -f \
61
- https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.4/index.html
62
- </code ></pre > </details > </td > </tr ></tbody ></table >
64
+ </code ></pre > </details > </td > </tr ></tbody ></table >
63
65
64
66
65
67
Note that:
66
- 1 . The pre-built package has to be used with corresponding version of CUDA and official PyTorch release .
67
- It will not work with a different version of PyTorch or a non-official build of PyTorch .
68
+ 1 . The pre-built package has to be used with corresponding version of CUDA and the official package of PyTorch .
69
+ Otherwise, please build detectron2 from source .
68
70
2 . New packages are released every few months. Therefore, packages may not contain latest features in the master
69
71
branch and may not be compatible with the master branch of a research project that uses detectron2
70
72
(e.g. those in [ projects] ( projects ) ).
0 commit comments