facebookresearch / facebookresearch/detectron2

How to use TorchProfiler?

Open
#4,567 1 comment 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Python
Stars
34.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

There is a TorchProfiler class defined [here](https://github.com/facebookresearch/detectron2/blob/0703e08a5f589f7503a3fbfce41309c80204eec8/detectron2/engine/hooks.py#L376) which seems handy. But I couldn't find a way to properly use it. Is there an example or documentation for how exactly it should be used? Thanks so much!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.