From 18d030e4830392e527bdde85768d3796ffd358ba Mon Sep 17 00:00:00 2001 From: HAOCHENYE <21724054@zju.edu.cn> Date: Tue, 20 Dec 2022 12:04:28 +0800 Subject: [PATCH] clean unnecessary code --- examples/distributed_training.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/distributed_training.py b/examples/distributed_training.py index 3b726814f6..7030a9f4d8 100644 --- a/examples/distributed_training.py +++ b/examples/distributed_training.py @@ -92,9 +92,6 @@ def main(): val_dataloader=val_dataloader, val_cfg=dict(), val_evaluator=dict(type=Accuracy), - custom_hooks=[ - dict(type='ProfilerHook', on_trace_ready=dict(type='tb_trace')) - ], launcher=args.launcher, ) runner.train()