Spaces:
Runtime error
Runtime error
File size: 391 Bytes
1f418ff |
1 2 3 4 5 6 7 8 9 |
# Copyright (c) OpenMMLab. All rights reserved.
import torch.nn as nn
from mmengine import Registry
from mmengine.registry import MODELS as MMENGINE_MODELS
from mmengine.registry import DATASETS as MMENGINE_DATASETS
MODELS = Registry('model', parent=MMENGINE_MODELS, locations=['estimator.models'])
DATASETS = Registry('dataset', parent=MMENGINE_DATASETS, locations=['estimator.datasets'])
|