Skip to content

AsDiscreted bug when threshold=0.0 #3387

@yiheng-wang-nv

Description

@yiheng-wang-nv

Reproduce the bug:

from monai.transforms import AsDiscreted
a = AsDiscreted(keys="pred", threshold=0.0)

Screen Shot 2021-11-23 at 10 56 39 PM

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions