def METHOD_NAME(model_type, **kwargs):
    """ Create the feature extractor for <model_type> architecture. """
    if model_type == 'ddpm':
        logger.info('Creating DDPM Feature Extractor...')
        feature_extractor = FeatureExtractorDDPM(**kwargs)
    else:
        raise Exception(f'Wrong model type: {model_type}')
    return feature_extractor