Skip to content

Commit

Permalink
create distiller folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Tau-J committed Aug 29, 2023
1 parent 084212b commit 5cfd51b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
13 changes: 11 additions & 2 deletions mmpose/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,21 @@
build_head, build_loss, build_neck, build_pose_estimator,
build_posenet)
from .data_preprocessors import * # noqa
from .distillers import * # noqa
from .heads import * # noqa
from .losses import * # noqa
from .necks import * # noqa
from .pose_estimators import * # noqa

__all__ = [
'BACKBONES', 'HEADS', 'NECKS', 'LOSSES', 'build_backbone', 'build_head',
'build_loss', 'build_posenet', 'build_neck', 'build_pose_estimator'
'BACKBONES',
'HEADS',
'NECKS',
'LOSSES',
'build_backbone',
'build_head',
'build_loss',
'build_posenet',
'build_neck',
'build_pose_estimator',
]
4 changes: 4 additions & 0 deletions mmpose/models/distillers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (c) OpenMMLab. All rights reserved.
from .dwpose_distiller import DWPoseDistiller

__all__ = ['DWPoseDistiller']
6 changes: 1 addition & 5 deletions mmpose/models/pose_estimators/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Copyright (c) OpenMMLab. All rights reserved.
from .bottomup import BottomupPoseEstimator
from .dwpose_distiller import DWPoseDistiller
from .pose_lifter import PoseLifter
from .topdown import TopdownPoseEstimator

__all__ = [
'TopdownPoseEstimator', 'BottomupPoseEstimator', 'PoseLifter',
'DWPoseDistiller'
]
__all__ = ['TopdownPoseEstimator', 'BottomupPoseEstimator', 'PoseLifter']

0 comments on commit 5cfd51b

Please sign in to comment.