mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
* mmedit -> mmagic --initial * fix codebase/cmakelist * add tests/test_codebase/test_mmagic/data/ * fix lint * fix rename * fix EditDataPreprocessor * fix EditTestLoop to TestLoop for mmagic * fix EditValLoop to ValLoop for mmagic * fix EditEvaluator to Evaluator for mmagic * modify rgtest/mmagic.yml * fix to MultiEvaluator * fix mmagic model.py * fix reg_test * fix lint * pass rgtest * fix ci quantize.yml * fix ci * update docs * fix lint * fix lint * fix lint * fix sr end2endmodel device * change destruct device back to cpu * modify output device * rename function name * update docstring
11 lines
218 B
Python
11 lines
218 B
Python
# Copyright (c) OpenMMLab. All rights reserved.
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def init_test():
|
|
# init default scope
|
|
from mmagic.utils import register_all_modules
|
|
|
|
register_all_modules(True)
|