Commit f08a0afc authored by mac's avatar mac

c

parent 3963f2c4
Pipeline #358 canceled with stages
......@@ -107,7 +107,7 @@ def img2Comix(args,net,device,image):
image = to_tensor(image).unsqueeze(0) * 2 - 1
out = net(image.to(device), args.upsample_align).cpu()
out = out.squeeze(0).clip(-1, 1) * 0.5 + 0.5
out = to_pil_image(out)
#out = to_pil_image(out)
return out
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment