Monai Label DeepEdit Out of Memory #698
-
Hello, Then when I click to make a foreground or background point a memory error occurs on the server.
I have an RTX 2070 with 8GiB of memory I would expect it could handle running this AI. Also I only see an "organ" label in 3D Slicer, whereas the tutorial shows the "left atrium" label, I think because my vtkMRMLSegmentationNode only has an "organ" segment. Is 8GiB just not enough for DeepEdit? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @nathanjbeaumont, Thanks for opening this discussion thread. For demo purposes, we've trained the DeepEdit using an images size of 256x256x128 (https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/deepedit/main.py#L94) on the Medical Segmentation Decathlon. This image size needs more GPU memory. However, you could re-train the model using the dataset and smaller image size (i.e 128x128x64). Another way of experimenting with MONAI Label is using Segmentation App. As this is a less complex model and it works on patches, it uses less GPU memory. Regarding this point:
It is just a label name. You could change it here: https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/deepedit/lib/infer.py#L44 Hope this helps. Please let us know if more information is needed. |
Beta Was this translation helpful? Give feedback.
Hi @nathanjbeaumont,
Thanks for opening this discussion thread.
For demo purposes, we've trained the DeepEdit using an images size of 256x256x128 (https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/deepedit/main.py#L94) on the Medical Segmentation Decathlon.
This image size needs more GPU memory. However, you could re-train the model using the dataset and smaller image size (i.e 128x128x64).
Another way of experimenting with MONAI Label is using Segmentation App. As this is a less complex model and it works on patches, it uses less GPU memory.
Regarding this point: