Merge branch 'dygraph' into dyg_db

This commit is contained in:
wangjingyeye
2022-07-01 11:28:23 +08:00
committed by GitHub
79 changed files with 5796 additions and 1007 deletions
+2
View File
@@ -255,6 +255,8 @@ def train(config,
with paddle.amp.auto_cast():
if model_type == 'table' or extra_input:
preds = model(images, data=batch[1:])
elif model_type in ["kie", 'vqa']:
preds = model(batch)
else:
preds = model(images)
else: