AsDiscreted Extremely Slow #653
-
I tried to test monailabel follow the official guidline on a remote server and use 3Dslicer as annotation client. How ever it seems unusual that AsDiscreted in post-processing is extremely slow, the log as below: I used deepedit_multilabel sample on Ubuntu18.04 with Nvidia GTX 1080Ti. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You are running this transform across multiple labels (512, 512, 164) is a large image. If still a bottleneck, please raise an issue in monai repo for this transform |
Beta Was this translation helpful? Give feedback.
You are running this transform across multiple labels (512, 512, 164) is a large image.
Now, in the latest release candidates, the post transform are run on GPU to make it faster.
https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/radiology/lib/infers/deepedit.py#L112
EnsureTyped(keys="pred", device=data.get("device") if data else None)
If still a bottleneck, please raise an issue in monai repo for this transform