Skip to content

Commit 640e061

Browse files
ppwwyyxxfacebook-github-bot
authored andcommitted
update readme and install instructions
Summary: Pull Request resolved: #5463 Reviewed By: vbourgin Differential Revision: D73598007 fbshipit-source-id: 1262fd2fe6ead8f1ace7ba1a0774906c01d26963
1 parent 400a49c commit 640e061

File tree

2 files changed

+3
-46
lines changed

2 files changed

+3
-46
lines changed

INSTALL.md

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -26,41 +26,6 @@ CC=clang CXX=clang++ ARCHFLAGS="-arch x86_64" python -m pip install ...
2626
To __rebuild__ detectron2 that's built from a local clone, use `rm -rf build/ **/*.so` to clean the
2727
old 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

6631
Click each issue for its solutions:

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<img src=".github/Detectron2-Logo-Horz.svg" width="300" >
22

3-
<a href="https://opensource.facebook.com/support-ukraine">
4-
<img src="https://img.shields.io/badge/Support-Ukraine-FFD500?style=flat&labelColor=005BBB" alt="Support Ukraine - Help Provide Humanitarian Aid to Ukraine." />
5-
</a>
6-
73
Detectron2 is Facebook AI Research's next generation library
84
that provides state-of-the-art detection and segmentation algorithms.
95
It is the successor of
@@ -18,19 +14,15 @@ It supports a number of computer vision research projects and production applica
1814

1915
## Learn More about Detectron2
2016

21-
Explain Like I’m 5: Detectron2 | Using Machine Learning with Detectron2
22-
:-------------------------:|:-------------------------:
23-
[![Explain Like I’m 5: Detectron2](https://img.youtube.com/vi/1oq1Ye7dFqc/0.jpg)](https://www.youtube.com/watch?v=1oq1Ye7dFqc) | [![Using Machine Learning with Detectron2](https://img.youtube.com/vi/eUSgtfK4ivk/0.jpg)](https://www.youtube.com/watch?v=eUSgtfK4ivk)
24-
25-
## What's New
2617
* Includes new capabilities such as panoptic segmentation, Densepose, Cascade R-CNN, rotated bounding boxes, PointRend,
2718
DeepLab, ViTDet, MViTv2 etc.
2819
* Used as a library to support building [research projects](projects/) on top of it.
2920
* Models can be exported to TorchScript format or Caffe2 format for deployment.
3021
* It [trains much faster](https://detectron2.readthedocs.io/notes/benchmarks.html).
3122

32-
See our [blog post](https://ai.facebook.com/blog/-detectron2-a-pytorch-based-modular-object-detection-library-/)
33-
to see more demos and learn about detectron2.
23+
See our [blog post](https://ai.meta.com/blog/-detectron2-a-pytorch-based-modular-object-detection-library-/)
24+
to see more demos.
25+
See this [interview](https://ai.meta.com/blog/detectron-everingham-prize/) to learn more about the stories behind detectron2.
3426

3527
## Installation
3628

0 commit comments

Comments
 (0)