Skip to content

Commit

Permalink
fix save-best rule for NME (open-mmlab#1763)
Browse files Browse the repository at this point in the history
  • Loading branch information
ly015 authored Oct 24, 2022
1 parent 23be328 commit 056c956
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=512)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[36, 45]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[36, 45]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=512)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@bbox_size', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@bbox_size', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=512)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@bbox_size', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@bbox_size', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=256)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[36, 45]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[36, 45]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=256)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[36, 45]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[36, 45]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=256)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[36, 45]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[36, 45]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=256)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[36, 45]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[36, 45]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=256)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[36, 45]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[36, 45]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=256)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[36, 45]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[36, 45]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
auto_scale_lr = dict(base_batch_size=512)

# hooks
default_hooks = dict(checkpoint=dict(save_best='nme/@[8, 9]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[8, 9]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=512)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[60, 72]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[60, 72]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=512)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[60, 72]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[60, 72]', rule='less'))

# codec settings
codec = dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
auto_scale_lr = dict(base_batch_size=512)

# hooks
default_hooks = dict(
checkpoint=dict(save_best='nme/@[60, 72]', rule='greater'))
default_hooks = dict(checkpoint=dict(save_best='nme/@[60, 72]', rule='less'))

# codec settings
codec = dict(
Expand Down

0 comments on commit 056c956

Please sign in to comment.