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
paddle_dbnet
Commits
56ee176c
Unverified
Commit
56ee176c
authored
Jul 28, 2021
by
d2623587501
Committed by
GitHub
Jul 28, 2021
Browse files
Merge branch 'PaddlePaddle:dygraph' into dygraph
parents
f68f7df7
f0b0f2af
Changes
39
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
18 additions
and
21 deletions
+18
-21
ppstructure/layout/README.md
ppstructure/layout/README.md
+0
-0
ppstructure/layout/train_layoutparser_model.md
ppstructure/layout/train_layoutparser_model.md
+0
-0
ppstructure/paddlestructure.py
ppstructure/paddlestructure.py
+4
-4
ppstructure/predict_system.py
ppstructure/predict_system.py
+2
-2
ppstructure/setup.py
ppstructure/setup.py
+5
-5
ppstructure/table/README.md
ppstructure/table/README.md
+0
-0
ppstructure/table/README_ch.md
ppstructure/table/README_ch.md
+0
-0
ppstructure/table/__init__.py
ppstructure/table/__init__.py
+0
-0
ppstructure/table/eval_table.py
ppstructure/table/eval_table.py
+3
-3
ppstructure/table/matcher.py
ppstructure/table/matcher.py
+0
-0
ppstructure/table/predict_structure.py
ppstructure/table/predict_structure.py
+1
-4
ppstructure/table/predict_table.py
ppstructure/table/predict_table.py
+3
-3
ppstructure/table/table_metric/__init__.py
ppstructure/table/table_metric/__init__.py
+0
-0
ppstructure/table/table_metric/parallel.py
ppstructure/table/table_metric/parallel.py
+0
-0
ppstructure/table/table_metric/table_metric.py
ppstructure/table/table_metric/table_metric.py
+0
-0
ppstructure/table/tablepyxl/__init__.py
ppstructure/table/tablepyxl/__init__.py
+0
-0
ppstructure/table/tablepyxl/style.py
ppstructure/table/tablepyxl/style.py
+0
-0
ppstructure/table/tablepyxl/tablepyxl.py
ppstructure/table/tablepyxl/tablepyxl.py
+0
-0
ppstructure/utility.py
ppstructure/utility.py
+0
-0
No files found.
test1
/layout/README.md
→
ppstructure
/layout/README.md
View file @
56ee176c
File moved
test1
/layout/train_layoutparser_model.md
→
ppstructure
/layout/train_layoutparser_model.md
View file @
56ee176c
File moved
test1
/paddlestructure.py
→
ppstructure
/paddlestructure.py
View file @
56ee176c
...
@@ -24,9 +24,9 @@ import numpy as np
...
@@ -24,9 +24,9 @@ import numpy as np
from
pathlib
import
Path
from
pathlib
import
Path
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
from
test1
.predict_system
import
OCRSystem
,
save_res
from
ppstructure
.predict_system
import
OCRSystem
,
save_res
from
test1
.table.predict_table
import
to_excel
from
ppstructure
.table.predict_table
import
to_excel
from
test1
.utility
import
init_args
,
draw_result
from
ppstructure
.utility
import
init_args
,
draw_result
logger
=
get_logger
()
logger
=
get_logger
()
from
ppocr.utils.utility
import
check_and_read_gif
,
get_image_file_list
from
ppocr.utils.utility
import
check_and_read_gif
,
get_image_file_list
...
...
test1
/predict_system.py
→
ppstructure
/predict_system.py
View file @
56ee176c
...
@@ -31,8 +31,8 @@ import layoutparser as lp
...
@@ -31,8 +31,8 @@ import layoutparser as lp
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
from
tools.infer.predict_system
import
TextSystem
from
tools.infer.predict_system
import
TextSystem
from
test1
.table.predict_table
import
TableSystem
,
to_excel
from
ppstructure
.table.predict_table
import
TableSystem
,
to_excel
from
test1
.utility
import
parse_args
,
draw_result
from
ppstructure
.utility
import
parse_args
,
draw_result
logger
=
get_logger
()
logger
=
get_logger
()
...
...
test1
/setup.py
→
ppstructure
/setup.py
View file @
56ee176c
...
@@ -23,14 +23,14 @@ with open('../requirements.txt', encoding="utf-8-sig") as f:
...
@@ -23,14 +23,14 @@ with open('../requirements.txt', encoding="utf-8-sig") as f:
def
readme
():
def
readme
():
with
open
(
'
api
_ch.md'
,
encoding
=
"utf-8-sig"
)
as
f
:
with
open
(
'
README
_ch.md'
,
encoding
=
"utf-8-sig"
)
as
f
:
README
=
f
.
read
()
README
=
f
.
read
()
return
README
return
README
shutil
.
copytree
(
'./table'
,
'./
test1
/table'
)
shutil
.
copytree
(
'./table'
,
'./
ppstructure
/table'
)
shutil
.
copyfile
(
'./predict_system.py'
,
'./
test1
/predict_system.py'
)
shutil
.
copyfile
(
'./predict_system.py'
,
'./
ppstructure
/predict_system.py'
)
shutil
.
copyfile
(
'./utility.py'
,
'./
test1
/utility.py'
)
shutil
.
copyfile
(
'./utility.py'
,
'./
ppstructure
/utility.py'
)
shutil
.
copytree
(
'../ppocr'
,
'./ppocr'
)
shutil
.
copytree
(
'../ppocr'
,
'./ppocr'
)
shutil
.
copytree
(
'../tools'
,
'./tools'
)
shutil
.
copytree
(
'../tools'
,
'./tools'
)
shutil
.
copyfile
(
'../LICENSE'
,
'./LICENSE'
)
shutil
.
copyfile
(
'../LICENSE'
,
'./LICENSE'
)
...
@@ -66,5 +66,5 @@ setup(
...
@@ -66,5 +66,5 @@ setup(
shutil
.
rmtree
(
'ppocr'
)
shutil
.
rmtree
(
'ppocr'
)
shutil
.
rmtree
(
'tools'
)
shutil
.
rmtree
(
'tools'
)
shutil
.
rmtree
(
'
test1
'
)
shutil
.
rmtree
(
'
ppstructure
'
)
os
.
remove
(
'LICENSE'
)
os
.
remove
(
'LICENSE'
)
test1
/table/README.md
→
ppstructure
/table/README.md
View file @
56ee176c
File moved
test1
/table/README_ch.md
→
ppstructure
/table/README_ch.md
View file @
56ee176c
File moved
test1
/table/__init__.py
→
ppstructure
/table/__init__.py
View file @
56ee176c
File moved
test1
/table/eval_table.py
→
ppstructure
/table/eval_table.py
View file @
56ee176c
...
@@ -20,9 +20,9 @@ sys.path.append(os.path.abspath(os.path.join(__dir__, '../..')))
...
@@ -20,9 +20,9 @@ sys.path.append(os.path.abspath(os.path.join(__dir__, '../..')))
import
cv2
import
cv2
import
json
import
json
from
tqdm
import
tqdm
from
tqdm
import
tqdm
from
test1
.table.table_metric
import
TEDS
from
ppstructure
.table.table_metric
import
TEDS
from
test1
.table.predict_table
import
TableSystem
from
ppstructure
.table.predict_table
import
TableSystem
from
test1
.utility
import
init_args
from
ppstructure
.utility
import
init_args
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
logger
=
get_logger
()
logger
=
get_logger
()
...
...
test1
/table/matcher.py
→
ppstructure
/table/matcher.py
View file @
56ee176c
File moved
test1
/table/predict_structure.py
→
ppstructure
/table/predict_structure.py
View file @
56ee176c
...
@@ -22,17 +22,14 @@ os.environ["FLAGS_allocator_strategy"] = 'auto_growth'
...
@@ -22,17 +22,14 @@ os.environ["FLAGS_allocator_strategy"] = 'auto_growth'
import
cv2
import
cv2
import
numpy
as
np
import
numpy
as
np
import
math
import
time
import
time
import
traceback
import
paddle
import
tools.infer.utility
as
utility
import
tools.infer.utility
as
utility
from
ppocr.data
import
create_operators
,
transform
from
ppocr.data
import
create_operators
,
transform
from
ppocr.postprocess
import
build_post_process
from
ppocr.postprocess
import
build_post_process
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
test1
.utility
import
parse_args
from
ppstructure
.utility
import
parse_args
logger
=
get_logger
()
logger
=
get_logger
()
...
...
test1
/table/predict_table.py
→
ppstructure
/table/predict_table.py
View file @
56ee176c
...
@@ -30,9 +30,9 @@ import tools.infer.predict_rec as predict_rec
...
@@ -30,9 +30,9 @@ import tools.infer.predict_rec as predict_rec
import
tools.infer.predict_det
as
predict_det
import
tools.infer.predict_det
as
predict_det
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.utility
import
get_image_file_list
,
check_and_read_gif
from
ppocr.utils.logging
import
get_logger
from
ppocr.utils.logging
import
get_logger
from
test1
.table.matcher
import
distance
,
compute_iou
from
ppstructure
.table.matcher
import
distance
,
compute_iou
from
test1
.utility
import
parse_args
from
ppstructure
.utility
import
parse_args
import
test1
.table.predict_structure
as
predict_strture
import
ppstructure
.table.predict_structure
as
predict_strture
logger
=
get_logger
()
logger
=
get_logger
()
...
...
test1
/table/table_metric/__init__.py
→
ppstructure
/table/table_metric/__init__.py
View file @
56ee176c
File moved
test1
/table/table_metric/parallel.py
→
ppstructure
/table/table_metric/parallel.py
View file @
56ee176c
File moved
test1
/table/table_metric/table_metric.py
→
ppstructure
/table/table_metric/table_metric.py
View file @
56ee176c
File moved
test1
/table/tablepyxl/__init__.py
→
ppstructure
/table/tablepyxl/__init__.py
View file @
56ee176c
File moved
test1
/table/tablepyxl/style.py
→
ppstructure
/table/tablepyxl/style.py
View file @
56ee176c
File moved
test1
/table/tablepyxl/tablepyxl.py
→
ppstructure
/table/tablepyxl/tablepyxl.py
View file @
56ee176c
File moved
test1
/utility.py
→
ppstructure
/utility.py
View file @
56ee176c
File moved
Prev
1
2
Next
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