Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -216,7 +216,7 @@ def start_process(input1, input2, shape0_str, shape1_str, input_suffix=".pth"):
|
|
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+=
|
220 |
yield [], log
|
221 |
|
222 |
print_log(task_id, input2, "执行命令" + command, "开始")
|
|
|
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 |
|
222 |
print_log(task_id, input2, "执行命令" + command, "开始")
|