Replies: 1 comment
-
A quick answer is that the interior operators do not use (or the decorator prevents) DISK type I/O for performance reasons. If indeed, a operator needs to save a file on disk and the downstream operator reads it, it is better to save the file to a well-known path, e.g. a folder under the application's output folder, and then pass the path in the output as str with the downstream operator receiving and parsing it as file path. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have created my own operator, which does image preprocessing functions and then saves it in an output folder, like this
However, when i try to add another operator (LoadPILOperator) like this,
I received some errors:
I think this probably has something to do with the @md.input and @md.output that i am defining, but I'm not sure what to change. Does anyone have ideas?
This is part of the RGBConverterOperator, with @md.output set to the DataPath, which i would assume is the op_output?
And for LoadPILOperator:
Beta Was this translation helpful? Give feedback.
All reactions