to_onehot=True/False
is deprecated, please use to_onehot=num_classes
instead?
#3894
Unanswered
AustinYuAo
asked this question in
Q&A
Replies: 1 comment
-
Hi @aubest , Thanks for your interest here. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,I tried to use AsDiscrete(to_onehot=True,n_classes=args.out_channels) ,but always go wrong
to_onehot=True/False
is deprecated, please useto_onehot=num_classes
instead.My monai version is 0.8.0,how can I handle it?
Beta Was this translation helpful? Give feedback.
All reactions