yeq6x commited on
Commit
e126b30
·
1 Parent(s): 5b26223

with torch.autocast('cuda'):

Browse files
Files changed (1) hide show
  1. scripts/process_utils.py +1 -1
scripts/process_utils.py CHANGED
@@ -317,7 +317,7 @@ def process_image(input_image, mode: str, weight1: float = 0.4, weight2: float =
317
 
318
  elif mode == "original":
319
  with torch.autocast('cuda'):
320
- sotai_image = generate_sotai_image(refined_image, output_width, output_height)
321
 
322
  # スケッチ画像の生成
323
  input_image_np = np.array(input_image)
 
317
 
318
  elif mode == "original":
319
  with torch.autocast('cuda'):
320
+ sotai_image = generate_sotai_image(input_image, output_width, output_height)
321
 
322
  # スケッチ画像の生成
323
  input_image_np = np.array(input_image)