research-contributions icon indicating copy to clipboard operation
research-contributions copied to clipboard

Converting SwinUNETR to ONNX or Tensorflow

Open vasudharao08 opened this issue 2 years ago • 0 comments

Hi, I am trying to convert the model to ONNX using torch.onnx.export() function but script gets 'Killed' abruptly which I am guessing is the memory error. I also looked at nobuco to convert it to Keras but that gives me a weird error:

TypeError: _InstanceNorm.__init__() missing 1 required positional argument: 'num_features'

Python version: 3.10 Torch version: 2.1.1

Any tips? Was someone successfully able to convert the model to ONNX or Tensorflow? Thank you!

vasudharao08 avatar Nov 16 '23 03:11 vasudharao08