A node-based image processing GUI aimed at making chaining image processing tasks easy and customizable. Born as an AI upscaling application, chaiNNer has grown into an extremely flexible and powerful programmatic image processing application.
size += size % model.size_requirements.multiple_of does not make size a multiple of multiple_of. E.g. for size=3 and multiple_of=4, this will result in a value of 6 for size at the end.
It was also wrong in that it didn't account for the minimum size.
size += size % model.size_requirements.multiple_of
does not make size a multiple ofmultiple_of
. E.g. forsize=3
andmultiple_of=4
, this will result in a value of6
forsize
at the end.It was also wrong in that it didn't account for the minimum size.