Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2D multi-class classification tasks #70

Open
cdzheng2g opened this issue Aug 2, 2024 · 2 comments
Open

2D multi-class classification tasks #70

cdzheng2g opened this issue Aug 2, 2024 · 2 comments

Comments

@cdzheng2g
Copy link

I was wondering how I might adapt it for 2D multi-class classification tasks. please let me know what modifications might be needed?

@JCruan519
Copy link
Owner

Following the same approach as the skin disease segmentation dataset, modify the loss function to CeDiceLoss. This might work.

@ouycc
Copy link

ouycc commented Oct 22, 2024

按照与皮肤病分割数据集相同的方法,将损失函数修改为 CeDiceLoss。这可能会有效。

I used my own dataset with 20 classes and modified the loss function to CeDiceLoss in the same way as the skin lesion segmentation dataset. When training to the 30th epoch, I encountered the error 'Found input variables with inconsistent numbers of samples: [6029312, 120586240]'. Do I need to modify the CeDiceLoss function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants