Merge pull request #417 from BeyondYourself/develop

The if condition is not sufficient when train the det model
This commit is contained in:
dyning 2020-07-24 19:56:57 +08:00 committed by GitHub
commit d146fbccbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)