Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting SwinUNETR to ONNX or Tensorflow #338

Open
vasudharao08 opened this issue Nov 16, 2023 · 0 comments
Open

Converting SwinUNETR to ONNX or Tensorflow #338

vasudharao08 opened this issue Nov 16, 2023 · 0 comments

Comments

@vasudharao08
Copy link

vasudharao08 commented Nov 16, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant