Load (Image,attributes) tuple input in Datablock API


I have my input (“X”) in the form of an Image and some parameters, and the output is an Image.
It’s organized in a DataFrame where each row is: [input_image_path, param1, param2, output_image_path]
The network should get (input_image, param1, param2) as input, and return an image.

The point is, if it were just input_image->output_image, I could easily reuse ImageImageList class.
But how can I reuse it (without making my own classes for everything) when I have parameters in input?

The “your topic is similar to…” suggested another related thread, but the Datablock API issue is that only thing not addressed there.