mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
update readme
This commit is contained in:
@@ -112,7 +112,6 @@ After downloading the model weights, move the 'models' directory to a directory
|
||||
#### 3. Copy the Configuration File and Make Configurations
|
||||
|
||||
```bash
|
||||
# Copy the configuration file to the root directory
|
||||
cp magic-pdf.template.json ~/magic-pdf.json
|
||||
```
|
||||
In magic-pdf.json, configure "models-dir" to point to the directory where the model weights files are located.
|
||||
|
||||
@@ -104,7 +104,6 @@ pip install detectron2 --extra-index-url https://myhloli.github.io/wheels/
|
||||
#### 3. 拷贝配置文件并进行配置
|
||||
|
||||
```bash
|
||||
# 拷贝配置文件到根目录
|
||||
cp magic-pdf.template.json ~/magic-pdf.json
|
||||
```
|
||||
在magic-pdf.json中配置"models-dir"为模型权重文件所在目录
|
||||
|
||||
Reference in New Issue
Block a user