"ts/nni_manager/package.json" did not exist on "17a39d4c529cb9ea3c9be739afc53c54aab83063"
Commit 90ba03ac authored by lintangsutawika's avatar lintangsutawika
Browse files

fix doc_to_image

parent 9692aa05
......@@ -1280,7 +1280,7 @@ class ConfigurableTask(Task):
def doc_to_image(self, doc: Any) -> Union[int, str, list]:
if self.config.doc_to_image is None:
eval_logger.error("doc_to_image was called but not set in config")
return None
else:
doc_to_image = self.config.doc_to_image
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment