"docs/vscode:/vscode.git/clone" did not exist on "d12e9ebc9079ea06fb39b89a1055a8cfe193af0b"
Unverified Commit d146fbcc authored by dyning's avatar dyning Committed by GitHub
Browse files

Merge pull request #417 from BeyondYourself/develop

The if condition is not sufficient when train the det model
parents 02d8d51d dcd2626e
......@@ -74,7 +74,7 @@ def main():
# dump mode structure
if config['Global']['debug']:
if 'attention' in config['Global']['loss_type']:
if train_alg_type == 'rec' and 'attention' in config['Global']['loss_type']:
logger.warning('Does not suport dump attention...')
else:
summary(train_program)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment