log_config by_epoch set to False.

This commit is contained in:
johnzja 2020-08-06 17:04:33 +08:00
parent e7f6b9e5ff
commit 795fb2037c
5 changed files with 24 additions and 12 deletions

View File

@ -57,3 +57,6 @@ lr_config = dict(
total_epochs = 247000 total_epochs = 247000
evaluation = dict(interval=1000, metric='mIoU') evaluation = dict(interval=1000, metric='mIoU')
checkpoint_config = dict(interval=1000) checkpoint_config = dict(interval=1000)
# log config: log by iter.
log_config = dict(interval=50, hooks=[dict(type='TextLoggerHook', by_epoch=False)])

View File

@ -50,12 +50,15 @@ optimizer_config = dict()
# learning policy # learning policy
lr_config = dict( lr_config = dict(
policy='poly', policy='poly',
power=0.9, power=1.2,
by_epoch=False, by_epoch=False,
) )
# runtime settings # runtime settings
# total_epochs = 1000 # total_epochs = 1000
total_iters = 80000 total_iters = 100000
evaluation = dict(interval=8000, metric='mIoU') evaluation = dict(interval=2000, metric='mIoU')
checkpoint_config = dict(interval=8000) checkpoint_config = dict(interval=2000)
# log config: log by iter.
log_config = dict(interval=50, hooks=[dict(type='TextLoggerHook', by_epoch=False)])

View File

@ -56,6 +56,9 @@ lr_config = dict(
# runtime settings # runtime settings
# total_epochs = 1000 # total_epochs = 1000
total_iters = 100000 total_iters = 100000
evaluation = dict(interval=5000, metric='mIoU') evaluation = dict(interval=2000, metric='mIoU')
checkpoint_config = dict(interval=5000) checkpoint_config = dict(interval=2000)
# log config: log by iter.
log_config = dict(interval=50, hooks=[dict(type='TextLoggerHook', by_epoch=False)])

View File

@ -55,7 +55,7 @@ lr_config = dict(
) )
# runtime settings # runtime settings
# total_epochs = 1000 # total_epochs = 1000
total_iters = 80000 total_iters = 100000
evaluation = dict(interval=8000, metric='mIoU') evaluation = dict(interval=2000, metric='mIoU')
checkpoint_config = dict(interval=8000) checkpoint_config = dict(interval=2000)

View File

@ -55,7 +55,10 @@ lr_config = dict(
) )
# runtime settings # runtime settings
# total_epochs = 1000 # total_epochs = 1000
total_iters = 80000 total_iters = 100000
evaluation = dict(interval=8000, metric='mIoU') evaluation = dict(interval=2000, metric='mIoU')
checkpoint_config = dict(interval=8000) checkpoint_config = dict(interval=2000)
# log config: log by iter.
log_config = dict(interval=50, hooks=[dict(type='TextLoggerHook', by_epoch=False)])