cog-sdxl icon indicating copy to clipboard operation
cog-sdxl copied to clipboard

[Bug] Captioning preprocessing step

Open jaszczw opened this issue 1 year ago • 0 comments

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

jaszczw avatar Oct 09 '23 05:10 jaszczw