Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73e3015

Browse files
authored
[fix] Remove detectron2 from extras_require (#74)
1 parentea3cc11 commit73e3015

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

‎installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ After several major updates, LayoutParser provides various functionalities and d
1515
| ---| ---|
1616
|`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|
1717
|`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.|
18-
|`pip install torch && pip installlayoutparser[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).|
18+
|`pip install torch && pip install"git+https://github.com/facebookresearch/detectron2.git@v0.5#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).|
1919
|`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.|
2020
|`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).|
2121

@@ -26,7 +26,7 @@ After several major updates, LayoutParser provides various functionalities and d
2626
If you would like to use the Detectron2 models for layout detection, you might need to run the following command:
2727

2828
```bash
29-
pip install torch&& pip installlayoutparser[detectron2]
29+
pip install torch&& pip install"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.5#egg=detectron2"
3030
```
3131

3232
This might take some time as the command will*compile* the library. If you also want to install a Detectron2 version

‎setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@
6666
"torchvision",
6767
"effdet"
6868
],
69-
"detectron2": [
70-
"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.5#egg=detectron2"
71-
# Supporting detectron0.5 for compatibility with newer torch versions
72-
],
7369
"paddledetection": [
7470
"paddlepaddle==2.1.0"
7571
],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp