|
|
@@ -100,7 +100,17 @@ conda activate MinerU
|
|
|
|
|
|
#### 1. Install Magic-PDF
|
|
|
|
|
|
-Install the full-feature package with pip:
|
|
|
+**1.Install dependencies**
|
|
|
+
|
|
|
+The full-feature package depends on detectron2, which requires a compilation installation.
|
|
|
+If you need to compile it yourself, please refer to https://github.com/facebookresearch/detectron2/issues/5114
|
|
|
+Alternatively, you can directly use our precompiled whl package (limited to Python 3.10):
|
|
|
+
|
|
|
+```bash
|
|
|
+pip install detectron2 --extra-index-url https://myhloli.github.io/wheels/
|
|
|
+```
|
|
|
+
|
|
|
+**2.Install the full-feature package with pip**
|
|
|
>Note: The pip-installed package supports CPU-only and is ideal for quick tests.
|
|
|
>
|
|
|
>For CUDA/MPS acceleration in production, see [Acceleration Using CUDA or MPS](#4-Acceleration-Using-CUDA-or-MPS).
|
|
|
@@ -114,14 +124,6 @@ pip install magic-pdf[full]==0.6.2b1
|
|
|
> pip install magic-pdf[full-cpu]==0.6.1
|
|
|
> ```
|
|
|
|
|
|
-
|
|
|
-The full-feature package depends on detectron2, which requires a compilation installation.
|
|
|
-If you need to compile it yourself, please refer to https://github.com/facebookresearch/detectron2/issues/5114
|
|
|
-Alternatively, you can directly use our precompiled whl package (limited to Python 3.10):
|
|
|
-
|
|
|
-```bash
|
|
|
-pip install detectron2 --extra-index-url https://myhloli.github.io/wheels/
|
|
|
-```
|
|
|
|
|
|
|
|
|
#### 2. Downloading model weights files
|