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
75cdc7dc
Unverified
Commit
75cdc7dc
authored
Aug 19, 2020
by
MissPenguin
Committed by
GitHub
Aug 19, 2020
Browse files
Merge pull request #519 from ZhangXinNan/zxdev
修改路径为绝对问题
parents
8ad1cbe0
70c1145a
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
15 deletions
+15
-15
ppocr/postprocess/east_postprocess.py
ppocr/postprocess/east_postprocess.py
+2
-2
ppocr/postprocess/lanms/.ycm_extra_conf.py
ppocr/postprocess/lanms/.ycm_extra_conf.py
+1
-1
tools/eval.py
tools/eval.py
+2
-2
tools/export_model.py
tools/export_model.py
+2
-2
tools/infer/predict_det.py
tools/infer/predict_det.py
+2
-2
tools/infer_det.py
tools/infer_det.py
+2
-2
tools/infer_rec.py
tools/infer_rec.py
+2
-2
tools/train.py
tools/train.py
+2
-2
No files found.
ppocr/postprocess/east_postprocess.py
View file @
75cdc7dc
...
...
@@ -22,9 +22,9 @@ import cv2
import
os
import
sys
__dir__
=
os
.
path
.
dirname
(
__file__
)
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)
)
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
os
.
path
.
join
(
__dir__
,
'..'
))
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
'..'
))
)
class
EASTPostPocess
(
object
):
...
...
ppocr/postprocess/lanms/.ycm_extra_conf.py
View file @
75cdc7dc
...
...
@@ -25,7 +25,7 @@ import ycm_core
# These are the compilation flags that will be used in case there's no
# compilation database set (by default, one is not set).
# CHANGE THIS LIST OF FLAGS. YES, THIS IS THE DROID YOU HAVE BEEN LOOKING FOR.
sys
.
path
.
append
(
os
.
path
.
dirname
(
__file__
))
sys
.
path
.
append
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
)
BASE_DIR
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
...
...
tools/eval.py
View file @
75cdc7dc
...
...
@@ -18,9 +18,9 @@ from __future__ import print_function
import
os
import
sys
__dir__
=
os
.
path
.
dirname
(
__file__
)
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)
)
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
os
.
path
.
join
(
__dir__
,
'..'
))
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
'..'
))
)
def
set_paddle_flags
(
**
kwargs
):
...
...
tools/export_model.py
View file @
75cdc7dc
...
...
@@ -18,9 +18,9 @@ from __future__ import print_function
import
os
import
sys
__dir__
=
os
.
path
.
dirname
(
__file__
)
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)
)
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
os
.
path
.
join
(
__dir__
,
'..'
))
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
'..'
))
)
def
set_paddle_flags
(
**
kwargs
):
...
...
tools/infer/predict_det.py
View file @
75cdc7dc
...
...
@@ -13,9 +13,9 @@
# limitations under the License.
import
os
import
sys
__dir__
=
os
.
path
.
dirname
(
__file__
)
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)
)
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
os
.
path
.
join
(
__dir__
,
'../..'
))
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
'../..'
))
)
import
tools.infer.utility
as
utility
from
ppocr.utils.utility
import
initial_logger
...
...
tools/infer_det.py
View file @
75cdc7dc
...
...
@@ -22,9 +22,9 @@ import json
import
os
import
sys
__dir__
=
os
.
path
.
dirname
(
__file__
)
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)
)
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
os
.
path
.
join
(
__dir__
,
'..'
))
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
'..'
))
)
def
set_paddle_flags
(
**
kwargs
):
...
...
tools/infer_rec.py
View file @
75cdc7dc
...
...
@@ -19,9 +19,9 @@ from __future__ import print_function
import
numpy
as
np
import
os
import
sys
__dir__
=
os
.
path
.
dirname
(
__file__
)
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)
)
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
os
.
path
.
join
(
__dir__
,
'..'
))
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
'..'
))
)
def
set_paddle_flags
(
**
kwargs
):
...
...
tools/train.py
View file @
75cdc7dc
...
...
@@ -18,9 +18,9 @@ from __future__ import print_function
import
os
import
sys
__dir__
=
os
.
path
.
dirname
(
__file__
)
__dir__
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)
)
sys
.
path
.
append
(
__dir__
)
sys
.
path
.
append
(
os
.
path
.
join
(
__dir__
,
'..'
))
sys
.
path
.
append
(
os
.
path
.
abspath
(
os
.
path
.
join
(
__dir__
,
'..'
))
)
def
set_paddle_flags
(
**
kwargs
):
...
...
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