INNER CODE UNIT · Python
set_multiple_dataset
tensorlayer/HyperPose · hyperpose/Config/__init__.py:425
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
set the path of the directory where dataset is,if the dataset doesn't exist in this directory,
then it will be automaticly download in this directory and decoded.