提交 ea019601 编写于 作者: A andyjpaddle

fix conflic in program

上级 ea52f47a
......@@ -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'
>>>>>>> 63ed5fcab30801626ecf55a89f5dc9faf79a16d2
'CLS', 'PGNet', 'Distillation', 'NRTR', 'TableAttn', 'SAR'
]
device = 'gpu:{}'.format(dist.ParallelEnv().dev_id) if use_gpu else 'cpu'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册