Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/diffusers/pipelines/visualcloze/visualcloze_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def preprocess_image(
new_h = int(processed_images[i][j].height * (new_w / processed_images[i][j].width))
new_w = int(new_w / 16) * 16
new_h = int(new_h / 16) * 16
processed_images[i][j] = self.height(processed_images[i][j], new_h, new_w)
processed_images[i][j] = self._resize_and_crop(processed_images[i][j], new_h, new_w)

# Convert to tensors and normalize
image_sizes = []
Expand Down