Deep-Exemplar-based-Colorization icon indicating copy to clipboard operation
Deep-Exemplar-based-Colorization copied to clipboard

Inquiry on input format

Open SibingWu opened this issue 3 years ago • 1 comments

Hi, from the demo, it seems that the input needs to be images with fixed height and weight.

Since I want to explore if this model can be used as a downstream model for some preprocessed inputs, I wonder if it is possible to pass in only some selected samples from source image/reference, and the selected samples are with variable length. [ dimension of the samples are (length, 3) ]

SibingWu avatar Mar 22 '22 16:03 SibingWu

Hi @SibingWu, we resized the images with their short edges of 256 pixels (while allowing their long edges to be any arbitrary length to keep aspect rations) during training. It is better to rescale the testing images to make them similar to the training sizes. But it also supports other image sizes as if your GPU memory is enough.

hmmlillian avatar Mar 28 '22 01:03 hmmlillian