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
fbf8f89b
"examples/vscode:/vscode.git/clone" did not exist on "28b134e6277a168381eadfb522c946f09cf3beff"
Commit
fbf8f89b
authored
Aug 07, 2024
by
liukaiwen
Browse files
Merge branch 'master' of github.com:papayalove/Magic-PDF
parents
377b49eb
8da5328f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/how_to_download_models_zh_cn.md
docs/how_to_download_models_zh_cn.md
+2
-2
No files found.
docs/how_to_download_models_zh_cn.md
View file @
fbf8f89b
...
@@ -42,10 +42,10 @@ pip install modelscope
...
@@ -42,10 +42,10 @@ pip install modelscope
# 使用modelscope sdk下载模型
# 使用modelscope sdk下载模型
from
modelscope
import
snapshot_download
from
modelscope
import
snapshot_download
model_dir
=
snapshot_download
(
'wanderkid/PDF-Extract-Kit'
)
model_dir
=
snapshot_download
(
'wanderkid/PDF-Extract-Kit'
)
print
(
f
"模型文件下载路径为:
{
model_dir
}
"
)
print
(
f
"模型文件下载路径为:
{
model_dir
}
/models
"
)
```
```
##
额外步骤
##
【❗️必须要做❗️】的额外步骤(模型下载完成后请务必完成以下操作)
### 1.检查模型目录是否下载完整
### 1.检查模型目录是否下载完整
模型文件夹的结构如下,包含了不同组件的配置文件和权重文件:
模型文件夹的结构如下,包含了不同组件的配置文件和权重文件:
...
...
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