You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I have trained a nnUNet 2d model and how can I use the model and weights like ''example = torch.rand(1, 3, 224, 224); traced_script_module = torch.jit.trace(model, example)" to use LibTorch c++ api to do predict from source files? And the input data needed to do predict seem to need processing, I don't know how to do that? Any suggestions?
Thank you very much!
The text was updated successfully, but these errors were encountered:
Same question here! I've exported the trained model into onnx format, but since the input image need to be preprocessed, I have no idea how to do the processing on raw images seperately.
First off, I would suggest you to look at the README about Inference
To do the preprocessing on the raw images separately, I suggest you look at the nnUNetPredictor source code.
Also, in issue #2100, a general guideline to deploy nnU-Net was detailed out in case you are interested.
Hi all,
I have trained a nnUNet 2d model and how can I use the model and weights like ''example = torch.rand(1, 3, 224, 224); traced_script_module = torch.jit.trace(model, example)" to use LibTorch c++ api to do predict from source files? And the input data needed to do predict seem to need processing, I don't know how to do that? Any suggestions?
Thank you very much!
The text was updated successfully, but these errors were encountered: