add_arg('parallel',bool,False,"Whether use parallel training.")
add_arg('parallel',bool,False,"Whether to use parallel training.")
add_arg('use_mkldnn',bool,False,"Whether to use mkldnn to train.")
add_arg('profile',bool,False,"Whether to use profiling.")
add_arg('skip_batch_num',int,0,"The number of first minibatches to skip as warm-up for better performance test.")
add_arg('iterations',int,0,"The number of iterations. Zero or less means whole training set. More than 0 means the training set might be looped until # of iterations is reached.")
add_arg('skip_test',bool,False,"Whether to skip test phase.")
@@ -15,7 +17,12 @@ add_arg('model_path', str, None, "The model path to be used for infer
...
@@ -15,7 +17,12 @@ add_arg('model_path', str, None, "The model path to be used for infer
add_arg('input_images_dir',str,None,"The directory of images.")
add_arg('input_images_dir',str,None,"The directory of images.")
add_arg('input_images_list',str,None,"The list file of images.")
add_arg('input_images_list',str,None,"The list file of images.")
add_arg('dict',str,None,"The dictionary. The result of inference will be index sequence if the dictionary was None.")
add_arg('dict',str,None,"The dictionary. The result of inference will be index sequence if the dictionary was None.")
add_arg('use_gpu',bool,True,"Whether use GPU to infer.")
add_arg('use_gpu',bool,True,"Whether use GPU to infer.")
add_arg('use_mkldnn',bool,False,"Whether to use mkldnn. If set to True, set model_path option to a model trained with mkldnn.")
add_arg('iterations',int,0,"The number of iterations. Zero or less means whole test set. More than 0 means the test set might be looped until # of iterations is reached.")
add_arg('profile',bool,False,"Whether to use profiling.")
add_arg('skip_batch_num',int,0,"The number of first minibatches to skip as warm-up for better performance test.")