rogerxavier commited on
Commit
53fa228
1 Parent(s): 743bc5c

Update 1removeMask.py

Browse files
Files changed (1) hide show
  1. 1removeMask.py +1 -1
1removeMask.py CHANGED
@@ -101,7 +101,7 @@ if __name__ == '__main__':
101
  if not os.path.exists(new_img_path):
102
  #如果已经处理过那么跳过
103
  # 处理图片并保存
104
- img_inpainted = inpaint(img_path=img_file, mask_path='all_mask.jpg')
105
  save_img(img_content=img_inpainted, new_save_path=new_img_path,old_img_path=img_file)
106
  else:
107
  print(f"Skipping {new_img_path} as it already exists.")
 
101
  if not os.path.exists(new_img_path):
102
  #如果已经处理过那么跳过
103
  # 处理图片并保存
104
+ img_inpainted = inpaint(img_path=img_file, mask_path='mask/all_mask.jpg')
105
  save_img(img_content=img_inpainted, new_save_path=new_img_path,old_img_path=img_file)
106
  else:
107
  print(f"Skipping {new_img_path} as it already exists.")