3DUX-Net icon indicating copy to clipboard operation
3DUX-Net copied to clipboard

erros using SWINUNETR

Open ramdhan1989 opened this issue 5 months ago • 2 comments

Hi, I got error when using SWINUNETR, my input size to the model is 4,1,96,96,96. When changing to 3DUXNET it works.

raise ValueError("Expected more than 1 spatial element when training, got input size {}".format(size)) ValueError: Expected more than 1 spatial element when training, got input size torch.Size([4, 768, 1, 1, 1])

please advise,

Thank you

ramdhan1989 avatar Jan 15 '24 05:01 ramdhan1989

hello, i am using SWINUNETR too, but i can't properly run it yet.

RuntimeError: CUDA error: out of memory CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

same configuration, run 3d-uxnet is ok, but run SWINUNETR is error........Could you tell me how to handle this?

10dutel avatar Apr 01 '24 04:04 10dutel

ramdhan1989 hello@, i am using SWINUNETR too, but i can't properly run it yet.

RuntimeError: CUDA error: out of memory CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

same configuration, run 3d-uxnet is ok, but run SWINUNETR is error........Could you tell me how to handle this?

10dutel avatar Apr 01 '24 04:04 10dutel