Closed haoqiwang1 closed 10 months ago
Hi @haoqiwang1, seems it's a known issue. You can disable use_checkpoint
param to support torchscript conversion by torch.jit.trace.
https://github.com/Project-MONAI/model-zoo/pull/316
Thanks!
closing because alternatives exist and inactivity.
Describe the bug I tried to train a model with SwinUNETR and export the model as TorchScript for later use in monai deploy packaging, but it fails export the model.
To Reproduce
Environment
Ensuring you use the relevant python executable, please paste the output of:
Thanks for your help!