cog-sdxl
cog-sdxl copied to clipboard
[Bug] Captioning preprocessing step
The captioning step is done before the segmentation step + cropping of is face model
- meaning you will get a caption for the whole image but crop out to focus on the face - which could change what's visible on the image and invalidate the caption.
https://github.com/replicate/cog-sdxl/blob/main/preprocess.py#L500-L531