kaczmarj commited on
Commit
d426c12
1 Parent(s): c6e4a1c

fix ONNX model

Browse files
Files changed (2) hide show
  1. export_to_torchscript.py +2 -2
  2. model.onnx +2 -2
export_to_torchscript.py CHANGED
@@ -97,7 +97,7 @@ torch.onnx.export(
97
  input_names=["image"],
98
  output_names=["embedding"],
99
  dynamic_axes={
100
- "input": {0: "batch_size"},
101
- "output": {0: "batch_size"},
102
  },
103
  )
 
97
  input_names=["image"],
98
  output_names=["embedding"],
99
  dynamic_axes={
100
+ "image": {0: "batch_size"},
101
+ "embedding": {0: "batch_size"},
102
  },
103
  )
model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eec3f58a2b57142c48411467858847f75b2726f7b22db877428fcf06aaac2958
3
- size 112312109
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1db3c0f65f4256133f2d81fe2d1a410c465626cd303b71ee46028da6bf9f118f
3
+ size 112494553