|
|
|
@@ -0,0 +1,24 @@ |
|
|
|
# Copyright 2021-2022 The Alibaba Fundamental Vision Team Authors. All rights reserved. |
|
|
|
|
|
|
|
from typing import TYPE_CHECKING |
|
|
|
|
|
|
|
from modelscope.utils.import_utils import LazyImportModule |
|
|
|
|
|
|
|
if TYPE_CHECKING: |
|
|
|
|
|
|
|
from .model_translation import UNet |
|
|
|
|
|
|
|
else: |
|
|
|
_import_structure = { |
|
|
|
'image_to_image_translation_model': ['UNet'], |
|
|
|
} |
|
|
|
|
|
|
|
import sys |
|
|
|
|
|
|
|
sys.modules[__name__] = LazyImportModule( |
|
|
|
__name__, |
|
|
|
globals()['__file__'], |
|
|
|
_import_structure, |
|
|
|
module_spec=__spec__, |
|
|
|
extra_objects={}, |
|
|
|
) |