-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Remove detectron2 from extras_require (#74)
- Loading branch information
1 parent
ea3cc11
commit 73e3015
Showing
2 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ After several major updates, LayoutParser provides various functionalities and d | |
| --- | --- | | ||
| `pip install layoutparser` | **Install the base LayoutParser Library**<br>It will support all key functions in LayoutParser, including:<br />1. Layout Data Structure and operations<br />2. Layout Visualization <br />3. Load/export the layout data | | ||
| `pip install layoutparser[effdet]` | **Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the ***EfficientDet***-based layout detection models. | | ||
| `pip install torch && pip install layoutparser[detectron2]` | **Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the ***Detectron2***-based layout detection models. See details in [Additional Instruction: Install Detectron2 Layout Model Backend](#additional-instruction-install-detectron2-layout-model-backend). | | ||
| `pip install torch && pip install "git+https://github.com/facebookresearch/detectron2[email protected]#egg=detectron2"` | **Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the ***Detectron2***-based layout detection models. See details in [Additional Instruction: Install Detectron2 Layout Model Backend](#additional-instruction-install-detectron2-layout-model-backend). | | ||
| `pip install layoutparser[paddledetection]` | **Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the ***PaddleDetection***-based layout detection models. | | ||
| `pip install layoutparser[ocr]` | **Install LayoutParser with OCR Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for performing OCRs. See details in [Additional Instruction: Install OCR utils](#additional-instruction-install-ocr-utils). | | ||
|
||
|
@@ -26,7 +26,7 @@ After several major updates, LayoutParser provides various functionalities and d | |
If you would like to use the Detectron2 models for layout detection, you might need to run the following command: | ||
|
||
```bash | ||
pip install torch && pip install layoutparser[detectron2] | ||
pip install torch && pip install "detectron2@git+https://github.com/facebookresearch/[email protected]#egg=detectron2" | ||
``` | ||
|
||
This might take some time as the command will *compile* the library. If you also want to install a Detectron2 version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,10 +66,6 @@ | |
"torchvision", | ||
"effdet" | ||
], | ||
"detectron2": [ | ||
"detectron2@git+https://github.com/facebookresearch/[email protected]#egg=detectron2" | ||
# Supporting detectron0.5 for compatibility with newer torch versions | ||
], | ||
"paddledetection": [ | ||
"paddlepaddle==2.1.0" | ||
], | ||
|