Skip to content

Commit

Permalink
feat(ml): debug for canny threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0124 authored and beniz committed Oct 5, 2024
1 parent 84f718a commit dca0bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/palette_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ def set_input(self, data):
batch_cond_image = fill_img_with_random_sketch(
image.unsqueeze(0),
mask.unsqueeze(0),
low_threshold_random=low,
high_threshold_random=high,
cur_low_threshold_random=low,
cur_high_threshold_random=high,
).squeeze(0)
elif "sam" in fill_img_with_random_sketch.__name__:
batch_cond_image = fill_img_with_random_sketch(
Expand Down

0 comments on commit dca0bfa

Please sign in to comment.