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
f4036a35
Commit
f4036a35
authored
Jul 13, 2024
by
myhloli
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
140e5a60
5235b6db
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
10 deletions
+7
-10
benchmark.yml
.github/workflows/benchmark.yml
+5
-7
README.md
README.md
+1
-1
README_zh-CN.md
README_zh-CN.md
+1
-1
test_cli.py
tests/test_cli/test_cli.py
+0
-1
No files found.
.github/workflows/benchmark.yml
View file @
f4036a35
...
...
@@ -30,14 +30,12 @@ jobs:
fetch-depth
:
2
-
name
:
check-requirements
run
:
|
changed_files=$(git diff --name-only -r HEAD~1 HEAD)
echo $changed_files
if [[ $changed_files =~ "requirements.txt" ]] || [[ $changed_files =~ "requirements-qa.txt" ]]; then
pip install -r requirements.txt
pip install -r requirements-qa.txt
fi
-
name
:
get-benchmark-result
run
:
|
echo "start test"
cd tools && python benchmark.py
echo $GITHUB_WORKSPACE
tree
cd $GITHUB_WORKSPACE && python tests/benchmark/benchmark.py
README.md
View file @
f4036a35
...
...
@@ -110,7 +110,7 @@ After downloading the model weights, move the 'models' directory to a directory
#### 3. Copy the Configuration File and Make Configurations
You can get the magic-pdf.template.json file in the repository root directory.
```
bash
cp
magic-pdf.template.json ~/magic-pdf.json
```
...
...
README_zh-CN.md
View file @
f4036a35
...
...
@@ -102,7 +102,7 @@ pip install detectron2 --extra-index-url https://myhloli.github.io/wheels/
下载后请将models目录拷贝到空间较大的ssd磁盘目录
#### 3. 拷贝配置文件并进行配置
在仓库根目录可以获得magic-pdf.template.json文件
```
bash
cp
magic-pdf.template.json ~/magic-pdf.json
```
...
...
tests/test_cli/test_cli.py
View file @
f4036a35
...
...
@@ -18,7 +18,6 @@ class TestCli:
common
.
check_shell
(
cmd
)
#common.count_folders_and_check_contents(pdf_res_path)
# def test_pdf_specify_jsonl(self):
# """
# 输入jsonl, 默认方式解析
...
...
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