tf.logging.fatal("Reader requires task input keywords %s, but "
"not exist in the config file.\n"
"Available task keywords: %s",
filtered_names, list(vars(task_param)))
raise ValueError
self._names = filtered_names
After Change
if not task_param:
task_param = {mod:(mod,) for mod in list(data_param)}
elif isinstance(task_param, ParserNamespace):
task_param = vars(task_param)
try:
task_param = dict(task_param)
except ValueError:
tf.logging.fatal(