Commit ea9c76d9 authored by Norman Mu's avatar Norman Mu Committed by Facebook Github Bot

Fix typo in detectron config

Summary: change _DEPCRECATED_KEYS -> _DEPRECATED_KEYS

Differential Revision: D8553498

fbshipit-source-id: 1431a9552efce47be3aa40718c954521481950de
parent b5dada9b
...@@ -991,7 +991,7 @@ __C.CLUSTER.ON_CLUSTER = False ...@@ -991,7 +991,7 @@ __C.CLUSTER.ON_CLUSTER = False
# If an option is removed from the code and you don't want to break existing # If an option is removed from the code and you don't want to break existing
# yaml configs, you can add the full config key as a string to the set below. # yaml configs, you can add the full config key as a string to the set below.
# ---------------------------------------------------------------------------- # # ---------------------------------------------------------------------------- #
_DEPCRECATED_KEYS = set( _DEPRECATED_KEYS = set(
{ {
'FINAL_MSG', 'FINAL_MSG',
'MODEL.DILATION', 'MODEL.DILATION',
...@@ -1192,7 +1192,7 @@ def _merge_a_into_b(a, b, stack=None): ...@@ -1192,7 +1192,7 @@ def _merge_a_into_b(a, b, stack=None):
def _key_is_deprecated(full_key): def _key_is_deprecated(full_key):
if full_key in _DEPCRECATED_KEYS: if full_key in _DEPRECATED_KEYS:
logger.warn( logger.warn(
'Deprecated config key (ignoring): {}'.format(full_key) 'Deprecated config key (ignoring): {}'.format(full_key)
) )
......
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