# Compatible code for usage deprecated in paddlehub v1.8.
self._base_data_reader=data_reader
self._base_feed_list=feed_list
...
...
@@ -1099,23 +1101,29 @@ class BaseTask(object):
or a plaintext string list when the task is initialized with data_reader param (deprecated in paddlehub v1.8).
label_list (list): the label list, used to proprocess the output.
load_best_model (bool): load the best model or not
return_result (bool): return a readable result or just the raw run result. Always True when the task is not initialized with data_reader param.
return_result (bool): return a readable result or just the raw run result. Always True when the task is not initialized with data_reader but dataset parameter.
accelerate_mode (bool): use high-performance predictor or not