"vscode:/vscode.git/clone" did not exist on "87842db48e71c48bbad90d581f12924496ee0798"
Commit 2d1dfb91 authored by Yanghan Wang's avatar Yanghan Wang Committed by Facebook GitHub Bot
Browse files

remove all fb name mapping for __init__

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

Differential Revision: D35850445

fbshipit-source-id: e69c0547603dea785d90401bd6128f8a2c2b194f
parent 3c18ae13
...@@ -4,3 +4,4 @@ ...@@ -4,3 +4,4 @@
# import all modules to make sure Registry works # import all modules to make sure Registry works
from . import affine, blur, box_utils, color_yuv, crop, d2_native # noqa from . import affine, blur, box_utils, color_yuv, crop, d2_native # noqa
# @fb-only: from . import fb # noqa
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# @fb-only: from . import fb # noqa
from .prediction_count_evaluation import PredictionCountEvaluator # noqa from .prediction_count_evaluation import PredictionCountEvaluator # noqa
__all__ = [k for k in globals().keys() if not k.startswith("_")] __all__ = [k for k in globals().keys() if not k.startswith("_")]
#!/usr/bin/env python3 #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# @fb-only: from . import fb # noqa
from . import fbnet_v2 from . import fbnet_v2
# Explicitly expose all registry-based modules # Explicitly expose all registry-based modules
__all__ = [ __all__ = [
"fbnet_v2", "fbnet_v2",
# @fb-only: "fb",
] ]
...@@ -2,4 +2,5 @@ ...@@ -2,4 +2,5 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# NOTE: making necessary imports to register with Registry # NOTE: making necessary imports to register with Registry
# @fb-only: from . import fb # noqa
from . import fcos # noqa from . import fcos # noqa
...@@ -6,4 +6,5 @@ ...@@ -6,4 +6,5 @@
This is the centralized place to define modeldef for all projects under D2Go. This is the centralized place to define modeldef for all projects under D2Go.
""" """
# @fb-only: from . import fb # noqa
from . import modeldef # noqa from . import modeldef # noqa
...@@ -3,4 +3,5 @@ ...@@ -3,4 +3,5 @@
# import to make sure Registry works # import to make sure Registry works
# @fb-only: from . import fb # noqa
from . import flop_calculator # noqa from . import flop_calculator # noqa
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