Commit fd317950 authored by Peizhao Zhang's avatar Peizhao Zhang Committed by Facebook GitHub Bot
Browse files

fix d2go import.

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

Fixed d2go import caused by D36402205 (https://github.com/facebookresearch/d2go/commit/b3a9204c65a503ee868cf020c629c23fde2d2bc1).

Reviewed By: wat3rBro

Differential Revision: D36431223

fbshipit-source-id: 50a03abb718fa038e0cc3a4ba0aed88fb1a676ed
parent 0c258bac
......@@ -3,12 +3,5 @@
# import all modules to make sure Registry works
# @fb-only: from . import ( # noqa # noqa
affine,
blur,
box_utils,
color_yuv,
crop,
d2_native,
fb,
)
# @fb-only: from . import fb # isort:skip # noqa
from . import affine, blur, box_utils, color_yuv, crop, d2_native # noqa
......@@ -2,4 +2,5 @@
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# NOTE: making necessary imports to register with Registry
from . import fb, fcos # noqa # @fb-only # noqa
# @fb-only: from . import fb # isort:skip # noqa
from . import fcos # noqa
......@@ -6,4 +6,5 @@
This is the centralized place to define modeldef for all projects under D2Go.
"""
from . import fb, modeldef # noqa # @fb-only # noqa
# @fb-only: from . import fb # isort:skip # noqa
from . import modeldef # noqa
......@@ -3,4 +3,6 @@
# import to make sure Registry works
from . import fb, flop_calculator # noqa # @fb-only # noqa
# usort does not respect the `fb-only` tag so use isort:skip here
# @fb-only: from . import fb # isort:skip # 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