tumuyan2 commited on
Commit
f64dbb3
·
1 Parent(s): eb74bc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -215,7 +215,7 @@ def start_process(input1, input2, shape0_str, shape1_str, input_suffix=".pth"):
215
  # 获取输出
216
  example_output = traced_torch_model(example_input)
217
  width_ratio = example_output.shape[2] / example_input.shape[2]
218
- print_log(task_id, input2, "获得缩放倍率="+ str(width_ratio+)", 输出shape="+str(list(example_output.shape)), "完成")
219
  log+= ("获得缩放倍率="+str(width_ratio)+", 输出shape="+str(list(example_output.shape))+"\n")
220
  yield [], log
221
 
 
215
  # 获取输出
216
  example_output = traced_torch_model(example_input)
217
  width_ratio = example_output.shape[2] / example_input.shape[2]
218
+ print_log(task_id, input2, "获得缩放倍率="+ str(width_ratio)+", 输出shape="+str(list(example_output.shape)), "完成")
219
  log+= ("获得缩放倍率="+str(width_ratio)+", 输出shape="+str(list(example_output.shape))+"\n")
220
  yield [], log
221