shgao commited on
Commit
03a83ad
β€’
1 Parent(s): 3ba97eb
Files changed (1) hide show
  1. sam2edit_lora.py +1 -1
sam2edit_lora.py CHANGED
@@ -502,7 +502,7 @@ class EditAnythingLoraModel:
502
  results = [x_samples[i] for i in range(num_samples)]
503
 
504
  if True:
505
- img_tile = [PIL.Image.fromarray(resize_image(np.array(x_samples[i]), 1024)) for i in range(num_samples)]
506
  # for each in img_tile:
507
  # print("tile",each.size)
508
  prompt_embeds, negative_prompt_embeds = get_pipeline_embeds(
 
502
  results = [x_samples[i] for i in range(num_samples)]
503
 
504
  if True:
505
+ img_tile = [PIL.Image.fromarray(resize_image(np.array(x_samples[i]), 768)) for i in range(num_samples)]
506
  # for each in img_tile:
507
  # print("tile",each.size)
508
  prompt_embeds, negative_prompt_embeds = get_pipeline_embeds(