INNER CODE UNIT · Python
set_domainadapt_dataset
tensorlayer/HyperPose · hyperpose/Config/__init__.py:429
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.
Parameters
----------
arg1 : String
a string indicates the path of the dataset,