Commit eaeb4cc2 authored by Yanghan Wang's avatar Yanghan Wang Committed by Facebook GitHub Bot
Browse files

remove dead code for AdelaiDet configs

Summary: code was kept for short term to support loading old training jobs during the period when the default config is polluted; now it should be safe to remove this BC support and dead code

Differential Revision: D32218217

fbshipit-source-id: 3772477653151ccbcb4ae7098b9414853b581ad1
parent 95ab768e
...@@ -169,14 +169,6 @@ class BaseRunner(object): ...@@ -169,14 +169,6 @@ class BaseRunner(object):
cfg cfg
) # upgrade from D2's CfgNode to D2Go's CfgNode ) # upgrade from D2's CfgNode to D2Go's CfgNode
try:
from d2go.runner import get_unintentional_added_configs_during_runner_import
for key in get_unintentional_added_configs_during_runner_import():
cfg.register_deprecated_key(key)
except ImportError:
pass
cfg.SOLVER.AUTO_SCALING_METHODS = ["default_scale_d2_configs"] cfg.SOLVER.AUTO_SCALING_METHODS = ["default_scale_d2_configs"]
return cfg return cfg
......
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