Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
6323f28b
Unverified
Commit
6323f28b
authored
Feb 13, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Feb 13, 2025
Browse files
Merge pull request #1682 from myhloli/dev
build(deps): update dependency versions
parents
80fd937f
289b76f4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
docker/ascend_npu/requirements.txt
docker/ascend_npu/requirements.txt
+3
-3
docker/china/Dockerfile
docker/china/Dockerfile
+1
-1
docker/china/requirements.txt
docker/china/requirements.txt
+2
-2
docker/global/Dockerfile
docker/global/Dockerfile
+1
-1
docker/global/requirements.txt
docker/global/requirements.txt
+2
-2
setup.py
setup.py
+4
-4
No files found.
docker/ascend_npu/requirements.txt
View file @
6323f28b
...
@@ -13,12 +13,12 @@ torchvision>=0.17.2,<=0.18.1
...
@@ -13,12 +13,12 @@ torchvision>=0.17.2,<=0.18.1
matplotlib
matplotlib
ultralytics>=8.3.48
ultralytics>=8.3.48
paddleocr==2.7.3
paddleocr==2.7.3
paddlepaddle==3.0.0
b
1
paddlepaddle==3.0.0
rc
1
struct-eqtable==0.3.2
struct-eqtable==0.3.2
einops
einops
accelerate
accelerate
rapidocr-paddle
rapidocr-paddle
>=1.4.5,<2.0.0
rapidocr-onnxruntime
rapidocr-onnxruntime
>=1.4.4,<2.0.0
rapid-table>=1.0.3,<2.0.0
rapid-table>=1.0.3,<2.0.0
doclayout-yolo==0.0.2b1
doclayout-yolo==0.0.2b1
openai
openai
...
...
docker/china/Dockerfile
View file @
6323f28b
...
@@ -32,7 +32,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
...
@@ -32,7 +32,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
pip3 install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple &&
\
pip3 install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple &&
\
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/requirements.txt -O requirements.txt &&
\
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/requirements.txt -O requirements.txt &&
\
pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple &&
\
pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple &&
\
pip3 install paddlepaddle-gpu==3.0.0
b
1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"
pip3 install paddlepaddle-gpu==3.0.0
rc
1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"
# Copy the configuration file template and install magic-pdf latest
# Copy the configuration file template and install magic-pdf latest
RUN
/bin/bash
-c
"wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/magic-pdf.template.json &&
\
RUN
/bin/bash
-c
"wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/magic-pdf.template.json &&
\
...
...
docker/china/requirements.txt
View file @
6323f28b
...
@@ -16,8 +16,8 @@ paddleocr==2.7.3
...
@@ -16,8 +16,8 @@ paddleocr==2.7.3
struct-eqtable==0.3.2
struct-eqtable==0.3.2
einops
einops
accelerate
accelerate
rapidocr-paddle
rapidocr-paddle
>=1.4.5,<2.0.0
rapidocr-onnxruntime
rapidocr-onnxruntime
>=1.4.4,<2.0.0
rapid-table>=1.0.3,<2.0.0
rapid-table>=1.0.3,<2.0.0
doclayout-yolo==0.0.2b1
doclayout-yolo==0.0.2b1
openai
openai
...
...
docker/global/Dockerfile
View file @
6323f28b
...
@@ -32,7 +32,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
...
@@ -32,7 +32,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
pip3 install --upgrade pip &&
\
pip3 install --upgrade pip &&
\
wget https://github.com/opendatalab/MinerU/raw/master/docker/global/requirements.txt -O requirements.txt &&
\
wget https://github.com/opendatalab/MinerU/raw/master/docker/global/requirements.txt -O requirements.txt &&
\
pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com &&
\
pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com &&
\
pip3 install paddlepaddle-gpu==3.0.0
b
1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"
pip3 install paddlepaddle-gpu==3.0.0
rc
1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"
# Copy the configuration file template and install magic-pdf latest
# Copy the configuration file template and install magic-pdf latest
RUN
/bin/bash
-c
"wget https://github.com/opendatalab/MinerU/raw/master/magic-pdf.template.json &&
\
RUN
/bin/bash
-c
"wget https://github.com/opendatalab/MinerU/raw/master/magic-pdf.template.json &&
\
...
...
docker/global/requirements.txt
View file @
6323f28b
...
@@ -16,8 +16,8 @@ paddleocr==2.7.3
...
@@ -16,8 +16,8 @@ paddleocr==2.7.3
struct-eqtable==0.3.2
struct-eqtable==0.3.2
einops
einops
accelerate
accelerate
rapidocr-paddle
rapidocr-paddle
>=1.4.5,<2.0.0
rapidocr-onnxruntime
rapidocr-onnxruntime
>=1.4.4,<2.0.0
rapid-table>=1.0.3,<2.0.0
rapid-table>=1.0.3,<2.0.0
doclayout-yolo==0.0.2b1
doclayout-yolo==0.0.2b1
openai
openai
...
...
setup.py
View file @
6323f28b
...
@@ -43,14 +43,14 @@ if __name__ == '__main__':
...
@@ -43,14 +43,14 @@ if __name__ == '__main__':
"matplotlib;platform_system=='Linux' or platform_system=='Darwin'"
,
# linux 和 macos 不应限制matplotlib的最高版本,以避免无法更新导致的一些bug
"matplotlib;platform_system=='Linux' or platform_system=='Darwin'"
,
# linux 和 macos 不应限制matplotlib的最高版本,以避免无法更新导致的一些bug
"ultralytics>=8.3.48"
,
# yolov8,公式检测
"ultralytics>=8.3.48"
,
# yolov8,公式检测
"paddleocr==2.7.3"
,
# 2.8.0及2.8.1版本与detectron2有冲突,需锁定2.7.3
"paddleocr==2.7.3"
,
# 2.8.0及2.8.1版本与detectron2有冲突,需锁定2.7.3
"paddlepaddle==3.0.0
b
1;platform_system=='Linux'"
,
# 解决linux的段异常问题
"paddlepaddle==3.0.0
rc
1;platform_system=='Linux'
or platform_system=='Darwin'
"
,
# 解决linux的段异常问题
"paddlepaddle==2.6.1;platform_system=='Windows'
or platform_system=='Darwin'
"
,
# windows版本3.0.0
b1
效率下降,需锁定2.6.1
"paddlepaddle==2.6.1;platform_system=='Windows'"
,
# windows版本3.0.0效率下降,需锁定2.6.1
"struct-eqtable==0.3.2"
,
# 表格解析
"struct-eqtable==0.3.2"
,
# 表格解析
"einops"
,
# struct-eqtable依赖
"einops"
,
# struct-eqtable依赖
"accelerate"
,
# struct-eqtable依赖
"accelerate"
,
# struct-eqtable依赖
"doclayout_yolo==0.0.2b1"
,
# doclayout_yolo
"doclayout_yolo==0.0.2b1"
,
# doclayout_yolo
"rapidocr-paddle"
,
# rapidocr-paddle
"rapidocr-paddle
>=1.4.5,<2.0.0
"
,
# rapidocr-paddle
"rapidocr_onnxruntime"
,
"rapidocr_onnxruntime
>=1.4.4,<2.0.0
"
,
"rapid_table>=1.0.3,<2.0.0"
,
# rapid_table
"rapid_table>=1.0.3,<2.0.0"
,
# rapid_table
"PyYAML"
,
# yaml
"PyYAML"
,
# yaml
"openai"
,
# openai SDK
"openai"
,
# openai SDK
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment