Skip to content

Commit

Permalink
[FEATURE] Add MoViNet template for action classification (#1742)
Browse files Browse the repository at this point in the history
* Add MoViNet template for action classification
Co-authored-by: Nikita Savelyev <nikita.savelyev@intel.com>
  • Loading branch information
JihwanEom authored Mar 14, 2023
1 parent 3581917 commit 8b044b7
Show file tree
Hide file tree
Showing 18 changed files with 1,449 additions and 6 deletions.
7 changes: 4 additions & 3 deletions otx/algorithms/action/adapters/mmaction/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
# Copyright (C) 2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

from .backbones import register_action_backbones
from .backbones import OTXMoViNet, register_action_backbones
from .detectors import AVAFastRCNN
from .heads import AVARoIHead
from .heads import AVARoIHead, MoViNetHead
from .recognizers import MoViNetRecognizer

__all__ = ["register_action_backbones", "AVAFastRCNN", "AVARoIHead"]
__all__ = ["register_action_backbones", "AVAFastRCNN", "OTXMoViNet", "MoViNetHead", "MoViNetRecognizer", "AVARoIHead"]
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
from mmaction.models.backbones.x3d import X3D
from mmdet.models import BACKBONES as MMDET_BACKBONES

from .movinet import OTXMoViNet


def register_action_backbones():
"""Register action backbone to mmdetection backbones."""
MMDET_BACKBONES.register_module()(X3D)


__all__ = ["OTXMoViNet"]
Loading

0 comments on commit 8b044b7

Please sign in to comment.