Skip to content

Commit

Permalink
Rename MMEdit to MMagic (#2418)
Browse files Browse the repository at this point in the history
  • Loading branch information
KKIEEK authored Sep 12, 2023
1 parent 6e60cae commit 455ec18
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
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

0 comments on commit 455ec18

Please sign in to comment.