logo
Browse Source

add save_model

Signed-off-by: gexy5 <xinyu.ge@zilliz.com>
main
gexy5 3 years ago
parent
commit
cb951f924b
  1. 1
      timm_image.py

1
timm_image.py

@ -100,6 +100,7 @@ class TimmImage(NNOperator):
# op = TimmImage('resnet50') # op = TimmImage('resnet50')
# out = op(img) # out = op(img)
# print(out) # print(out)
#
# op.model = torch.jit.load('resnet50.pt') # op.model = torch.jit.load('resnet50.pt')
# out2 = op(img) # out2 = op(img)
# print(out2) # print(out2)

Loading…
Cancel
Save