INNER CODE UNIT · Python

set_userdef_dataset

tensorlayer/HyperPose · hyperpose/Config/__init__.py:421

def set_userdef_dataset(userdef_dataset):
    update_data.dataset_type=DATA.USERDEF
    update_data.userdef_dataset=userdef_dataset

def set_multiple_dataset(multiple_dataset_configs):
    update_data.dataset_type=DATA.MULTIPLE
    update_data.multiple_dataset_configs=multiple_dataset_configs

def set_domainadapt_dataset(domainadapt_train_img_paths,domainadapt_scale_rate=1):
    update_data.domainadapt_flag=True
    update_data.domainadapt_train_img_paths=domainadapt_train_img_paths
    update_data.domainadapt_scale_rate=domainadapt_scale_rate

def set_official_dataset(official_flag):
    update_data.official_flag=official_flag

def set_dataset_path(dataset_path):
    '''set the path of the dataset

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…