bmaltais / kohya_ss

Apache License 2.0
8.85k stars 1.16k forks source link

Multichannel input (TIF files) #2451

Open eapolo opened 2 months ago

eapolo commented 2 months ago

Is it possible to use images with more than three channels? For instance, the images typically used by this model are in RGB format. However, could it also handle TIF images that include RGB + NIR (near-infrared) channels? If so, which files would need to be modified?

bmaltais commented 2 months ago

Good question. I don't know. You should probably ask kohya on his sd-scripts repo as he is tha author of the scripts that do the training.