Skip to content

AsDiscreted Extremely Slow #653

Answered by SachidanandAlle
sunshichen asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SachidanandAlle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants