add_arg('total_step',int,720000,"Number of training iterations.")
add_arg('total_step',int,720000,"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('log_period',int,1000,"Log period.")
add_arg('save_model_period',int,15000,"Save model period. '-1' means never saving the model.")
add_arg('eval_period',int,15000,"Evaluate period. '-1' means never evaluating the model.")
...
...
@@ -25,6 +26,9 @@ add_arg('min_average_window',int, 10000, "Min average window.")
add_arg('max_average_window',int,12500,"Max average window. It is proposed to be set as the number of minibatch in a pass.")
@@ -16,6 +18,10 @@ 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('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('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.")