Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pdf-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Qin Kaijie
pdf-miner
Commits
409ece82
Unverified
Commit
409ece82
authored
Aug 09, 2024
by
sfk
Committed by
GitHub
Aug 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README_Ubuntu_CUDA_Acceleration_en_US.md
parent
18f82ab7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README_Ubuntu_CUDA_Acceleration_en_US.md
docs/README_Ubuntu_CUDA_Acceleration_en_US.md
+5
-5
No files found.
docs/README_Ubuntu_CUDA_Acceleration_en_US.md
View file @
409ece82
...
@@ -48,13 +48,13 @@
...
@@ -48,13 +48,13 @@
### 5. Install Applications
### 5. Install Applications
```sh
```sh
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, make sure to check the version of
`magic-pdf`
using the following command:
❗ After installation, make sure to check the version of
`magic-pdf`
using the following command:
```sh
```sh
magic-pdf --version
magic-pdf --version
```
```
If the version number is less than 0.
6.2
, please report the issue.
If the version number is less than 0.
7.0
, please report the issue.
### 6. Download Models
### 6. 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
)
.
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
Download a sample file from the repository and test it.
Download a sample file from the repository and test it.
```sh
```sh
wget https://github.com/opendatalab/MinerU/raw/master/demo/small_ocr.pdf
wget https://github.com/opendatalab/MinerU/raw/master/demo/small_ocr.pdf
magic-pdf
pdf-command --pdf
small_ocr.pdf
magic-pdf
-p
small_ocr.pdf
```
```
### 9. Test CUDA Acceleration
### 9. Test CUDA Acceleration
...
@@ -100,7 +100,7 @@ If your graphics card has at least 8GB of VRAM, follow these steps to test CUDA
...
@@ -100,7 +100,7 @@ If your graphics card has at least 8GB of VRAM, follow these steps to test CUDA
```
```
2.
Test CUDA acceleration with the following command:
2.
Test CUDA acceleration with the following command:
```sh
```sh
magic-pdf
pdf-command --pdf
small_ocr.pdf
magic-pdf
-p
small_ocr.pdf
```
```
### 10. Enable CUDA Acceleration for OCR
### 10. Enable CUDA Acceleration for OCR
...
@@ -113,5 +113,5 @@ If your graphics card has at least 8GB of VRAM, follow these steps to test CUDA
...
@@ -113,5 +113,5 @@ If your graphics card has at least 8GB of VRAM, follow these steps to test CUDA
```
```
2.
Test OCR acceleration with the following command:
2.
Test OCR acceleration with the following command:
```sh
```sh
magic-pdf
pdf-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