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
24503530
"vscode:/vscode.git/clone" did not exist on "34fc1e37a4e1b2e5dd7d6b2d905eed07e7ce4e7f"
Unverified
Commit
24503530
authored
Aug 09, 2024
by
sfk
Committed by
GitHub
Aug 09, 2024
Browse files
Update README_Windows_CUDA_Acceleration_en_US.md
parent
ece8dac4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
docs/README_Windows_CUDA_Acceleration_en_US.md
docs/README_Windows_CUDA_Acceleration_en_US.md
+6
-6
No files found.
docs/README_Windows_CUDA_Acceleration_en_US.md
View file @
24503530
...
@@ -19,13 +19,13 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
...
@@ -19,13 +19,13 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
### 4. Install Applications
### 4. Install Applications
```
```
pip install magic-pdf[full]==0.
6.2b1 detectron2
--extra-index-url https://wheels.myhloli.com
pip install magic-pdf[full]==0.
7.0b1
--extra-index-url https://wheels.myhloli.com
```
```
>❗️After installation, verify the version of `magic-pdf`:
>❗️After installation, verify the version of `magic-pdf`:
> ```bash
> ```bash
> magic-pdf --version
> magic-pdf --version
> ```
> ```
> If the version number is less than 0.
6.2
, please report it in the issues section.
> If the version number is less than 0.
7.0
, please report it in the issues section.
### 5. Download Models
### 5. Download Models
Refer to detailed instructions on
[
how to download model files
](
how_to_download_models_en.md
)
.
Refer to detailed instructions on
[
how to download model files
](
how_to_download_models_en.md
)
.
...
@@ -65,7 +65,7 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
...
@@ -65,7 +65,7 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
Download a sample file from the repository and test it.
Download a sample file from the repository and test it.
```
powershell
```
powershell
(
New-Object
System.Net.WebClient
)
.
DownloadFile
(
'https://github.com/opendatalab/MinerU/raw/master/demo/small_ocr.pdf'
,
'small_ocr.pdf'
)
(
New-Object
System.Net.WebClient
)
.
DownloadFile
(
'https://github.com/opendatalab/MinerU/raw/master/demo/small_ocr.pdf'
,
'small_ocr.pdf'
)
magic-pdf
p
df-command
--pdf
small_ocr.pdf
magic-pdf
-
p
small_ocr.pdf
```
```
### 8. Test CUDA Acceleration
### 8. Test CUDA Acceleration
...
@@ -89,7 +89,7 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
...
@@ -89,7 +89,7 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
3.
**Run the following command to test CUDA acceleration**
:
3.
**Run the following command to test CUDA acceleration**
:
```
```
magic-pdf p
df-command --pdf
small_ocr.pdf
magic-pdf
-
p small_ocr.pdf
```
```
### 9. Enable CUDA Acceleration for OCR
### 9. Enable CUDA Acceleration for OCR
...
@@ -100,5 +100,5 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
...
@@ -100,5 +100,5 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
```
```
2.
**Run the following command to test OCR acceleration**
:
2.
**Run the following command to test OCR acceleration**
:
```
```
magic-pdf p
df-command --pdf
small_ocr.pdf
magic-pdf
-
p small_ocr.pdf
```
```
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