Replies: 1 comment
-
MMCV has a It uses the PyTorch profiler to show GPU utilization, dataloader time, and time spent in each operation. Here's an example of putting it in the config: profiler = dict(
type="ProfilerHook",
by_epoch=False,
profile_iters=10,
on_trace_ready=dict(type="tb_trace", dir_name="hook_prof_logs"),
) In the TensorBoard output (specified by setting Your other option is to just use Python profiling and |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
mmdet有profile吗,查看各个阶段耗时的 ?
Does mmdet have a profile to see how long each phase takes ?
Beta Was this translation helpful? Give feedback.
All reactions