Skip to content

Commit 4211dda

Browse files
authored
build: sync detectron version (#440)
* Update detectron2 version in Dockerfile * Update detectron2 version in docs
1 parent 555b95b commit 4211dda

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ RUN python3.8 -m pip install pip==${PIP_VERSION} && \
8080
pip install --no-cache -r requirements/ingest-s3.txt && \
8181
pip install --no-cache -r requirements/ingest-wikipedia.txt && \
8282
pip install --no-cache -r requirements/local-inference.txt && \
83-
pip install --no-cache "detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2"
83+
pip install --no-cache "detectron2@git+https://github.com/facebookresearch/detectron2.git@e2ce8dc#egg=detectron2"
8484

8585
COPY example-docs example-docs
8686
COPY unstructured unstructured

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ install-unstructured-inference:
8585

8686
.PHONY: install-detectron2
8787
install-detectron2:
88-
pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@e2ce8dc1ab097891395d324abaffe9cf298503d1#egg=detectron2"
88+
pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@e2ce8dc#egg=detectron2"
8989

9090
## install-local-inference: installs requirements for local inference
9191
.PHONY: install-local-inference

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ installation. NOTE: We do not currently support python 3.11, please use an older
6161
- `libreoffice` (MS Office docs)
6262
- If you are parsing PDFs, run the following to install the `detectron2` model, which
6363
`unstructured` uses for layout detection:
64-
- `pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2"`
64+
- `pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@e2ce8dc#egg=detectron2"`
6565

6666
At this point, you should be able to run the following code:
6767

docs/source/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ installation.
1818
* ``pandocs`` (EPUBs)
1919

2020
* If you are parsing PDFs, run the following to install the ``detectron2`` model, which ``unstructured`` uses for layout detection:
21-
* ``pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2"``
21+
* ``pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@e2ce8dc#egg=detectron2"``
2222

2323
At this point, you should be able to run the following code:
2424

0 commit comments

Comments
 (0)