Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add MoViNet template for action classification #1742

Merged
merged 16 commits into from
Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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