[c1b1c5]: / ViTPose / mmpose / datasets / registry.py

Download this file

14 lines (10 with data), 403 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Copyright (c) OpenMMLab. All rights reserved.
import warnings
from .builder import DATASETS, PIPELINES
__all__ = ['DATASETS', 'PIPELINES']
warnings.simplefilter('once', DeprecationWarning)
warnings.warn(
'Registries (DATASETS, PIPELINES) have been moved to '
'mmpose.datasets.builder. Importing from '
'mmpose.models.registry will be deprecated in the future.',
DeprecationWarning)