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
ea019601
Commit
ea019601
authored
Aug 31, 2021
by
andyjpaddle
Browse files
fix conflic in program
parent
ea52f47a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
tools/program.py
tools/program.py
+1
-5
No files found.
tools/program.py
View file @
ea019601
...
...
@@ -402,11 +402,7 @@ def preprocess(is_train=False):
alg
=
config
[
'Architecture'
][
'algorithm'
]
assert
alg
in
[
'EAST'
,
'DB'
,
'SAST'
,
'Rosetta'
,
'CRNN'
,
'STARNet'
,
'RARE'
,
'SRN'
,
<<<<<<<
HEAD
'CLS'
,
'PGNet'
,
'Distillation'
,
'TableAttn'
,
'SAR'
=======
'CLS'
,
'PGNet'
,
'Distillation'
,
'NRTR'
,
'TableAttn'
>>>>>>>
63
ed5fcab30801626ecf55a89f5dc9faf79a16d2
'CLS'
,
'PGNet'
,
'Distillation'
,
'NRTR'
,
'TableAttn'
,
'SAR'
]
device
=
'gpu:{}'
.
format
(
dist
.
ParallelEnv
().
dev_id
)
if
use_gpu
else
'cpu'
...
...
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