Merge pull request #417 from BeyondYourself/develop
The if condition is not sufficient when train the det model
This commit is contained in:
commit
d146fbccbb
|
@ -74,7 +74,7 @@ def main():
|
||||||
|
|
||||||
# dump mode structure
|
# dump mode structure
|
||||||
if config['Global']['debug']:
|
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...')
|
logger.warning('Does not suport dump attention...')
|
||||||
else:
|
else:
|
||||||
summary(train_program)
|
summary(train_program)
|
||||||
|
|
Loading…
Reference in New Issue