AsDiscrete Transform #3741
Replies: 4 comments 4 replies
-
the current codebase probably wouldn't generate this error message |
Beta Was this translation helpful? Give feedback.
-
ok, I will try it with 0.8.0, then I will let you know. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you so much. The issue has been resolved. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am facing an issue, I am trying to solve, but I couldn't.
Here is code:
The same code is provided here. I have no idea whats going on?
I am facing this error.
AssertionError: One of self.n_classes or n_classes must be an integer
The above exception was the direct cause of the following exception:
raise RuntimeError(f"applying transform {transform}") from e
applying transform <monai.transforms.post.array.AsDiscrete object at 0x7f48e0027a90>
Beta Was this translation helpful? Give feedback.
All reactions