"tests/vscode:/vscode.git/clone" did not exist on "7bdf50a3d5ba7a6515ef2c8cda81f2f9733b5460"
Commit 67267821 authored by Mircea Cimpoi's avatar Mircea Cimpoi Committed by Facebook GitHub Bot
Browse files

Run zoomer profiling

Summary:
Pull Request resolved: https://github.com/facebookresearch/d2go/pull/518

Enable profiling for eval step only, not on every eval (which can be called during training)

Reviewed By: frabu6

Differential Revision: D44535915

fbshipit-source-id: 4497a3f74f5d751277df9ed41bc9bf21056341c4
parent c4b2d09c
...@@ -385,6 +385,7 @@ class Detectron2GoRunner(D2GoDataAPIMixIn, BaseRunner): ...@@ -385,6 +385,7 @@ class Detectron2GoRunner(D2GoDataAPIMixIn, BaseRunner):
) )
attach_profilers(cfg, model) attach_profilers(cfg, model)
if is_final:
prepare_fb_model_for_eval(cfg, model) prepare_fb_model_for_eval(cfg, model)
results = OrderedDict() results = OrderedDict()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment