Commit 56e89ee9 authored by mac's avatar mac

no message

parent 32f8afc8
Pipeline #378 canceled with stages
......@@ -105,8 +105,8 @@ def img2Comix(args,net,device,image):
size = image.shape
print('>>cvtColor img size=',size)
image = img_2_x32(image,args.x32)
w, h = image.size
print('>>img_2_x32 size=', w, ',', h)
size = image.shape
print('>>img_2_x32 size=', size)
with torch.no_grad():
#print('----------torch.no_grad() handle')
#变成tensor数据后,形状变为CxHxW
......
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