Skip to content

Commit

Permalink
move badcase hook config to default_runtime.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Indigo6 committed Aug 1, 2023
1 parent 4cfc7ab commit 54eecc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 124 deletions.
5 changes: 5 additions & 0 deletions configs/_base_/default_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
checkpoint=dict(type='CheckpointHook', interval=10),
sampler_seed=dict(type='DistSamplerSeedHook'),
visualization=dict(type='PoseVisualizationHook', enable=False),
badcase=dict(type="BadCaseAnalyzeHook",
metric_type="loss",
badcase_thr=100,
show=True,
out_dir='badcase')
)

# custom hooks
Expand Down

This file was deleted.

0 comments on commit 54eecc3

Please sign in to comment.