From 5b34931948db0148c656a7bf10cf04c2b215db5a Mon Sep 17 00:00:00 2001 From: qued <64741807+qued@users.noreply.github.com> Date: Thu, 6 Apr 2023 14:48:19 -0500 Subject: [PATCH] docs: update unstructured detectron install instructions (#2498) Updated recommended `detectron2` version to install for use with `unstructured`. Should now match version in [Unstructured README](https://github.com/Unstructured-IO/unstructured/blob/main/README.md#eight_pointed_black_star-quick-start). --- docs/ecosystem/unstructured.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ecosystem/unstructured.md b/docs/ecosystem/unstructured.md index 721c2321..cd9552bf 100644 --- a/docs/ecosystem/unstructured.md +++ b/docs/ecosystem/unstructured.md @@ -20,7 +20,7 @@ This page is broken into two parts: installation and setup, and then references - `pandoc` (EPUBs) - If you are parsing PDFs using the `"hi_res"` strategy, run the following to install the `detectron2` model, which `unstructured` uses for layout detection: - - `pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2"` + - `pip install "detectron2@git+https://github.com/facebookresearch/detectron2.git@e2ce8dc#egg=detectron2"` - If `detectron2` is not installed, `unstructured` will fallback to processing PDFs using the `"fast"` strategy, which uses `pdfminer` directly and doesn't require `detectron2`.