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

Rename MMEdit to MMagic #2418

Merged
merged 1 commit into from
Sep 12, 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
4 changes: 2 additions & 2 deletions mmdeploy/codebase/mmagic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) OpenMMLab. All rights reserved.
from .deploy import MMEditing, SuperResolution
from .deploy import MMagic, SuperResolution

__all__ = ['MMEditing', 'SuperResolution']
__all__ = ['MMagic', 'SuperResolution']
4 changes: 2 additions & 2 deletions mmdeploy/codebase/mmagic/deploy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) OpenMMLab. All rights reserved.
from mmdeploy.codebase.mmagic.deploy.mmediting import MMEditing
from mmdeploy.codebase.mmagic.deploy.mmagic import MMagic
from mmdeploy.codebase.mmagic.deploy.super_resolution import SuperResolution

__all__ = ['MMEditing', 'SuperResolution']
__all__ = ['MMagic', 'SuperResolution']
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@


@CODEBASE.register_module(Codebase.MMAGIC.value)
class MMEditing(MMCodebase):
"""mmediting codebase class."""
class MMagic(MMCodebase):
"""mmagic codebase class."""

task_registry = MMAGIC_TASK

Expand Down
2 changes: 1 addition & 1 deletion mmdeploy/codebase/mmagic/deploy/super_resolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from mmengine.model import BaseDataPreprocessor

from mmdeploy.codebase.base import BaseTask
from mmdeploy.codebase.mmagic.deploy.mmediting import MMAGIC_TASK
from mmdeploy.codebase.mmagic.deploy.mmagic import MMAGIC_TASK
from mmdeploy.utils import Task, get_input_shape


Expand Down
2 changes: 1 addition & 1 deletion tools/elena/extract_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

CODEBASE = [
'mmpretrain', 'mmdetection', 'mmpose', 'mmrotate', 'mmocr',
'mmsegmentation', 'mmediting'
'mmsegmentation', 'mmagic'
]

DEPLOY_CFG = {
Expand Down
Loading