Skip to content
New issue

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

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

Already on GitHub? # to your account

Train Segformer with custom dataset #1

Open
pnchuyen opened this issue Apr 6, 2024 · 3 comments
Open

Train Segformer with custom dataset #1

pnchuyen opened this issue Apr 6, 2024 · 3 comments

Comments

@pnchuyen
Copy link

pnchuyen commented Apr 6, 2024

Hello, thank you for your implementation. Have you tried to train the segformer model with any dataset. How was it in compared to U-Net model? Thank you and look forward to your answer!

@ACSEkevin
Copy link
Owner

ACSEkevin commented Apr 8, 2024

Hello, thank you for your implementation. Have you tried to train the segformer model with any dataset. How was it in compared to U-Net model? Thank you and look forward to your answer!

Hi, Thanks for the comment.

Actually models like U-Net is not suitable for comparing Segformer as they are designed for different purposes.
U-Net which has a direct modelling for both encoder and decoder, is a simple-structured model and might not be able to learn complicated representations.
Whereas, models like PSPNet, Deeplab and other Self-Attention-based segmentation models are more capable for capturing complex features, context etc. because of their huge capacity, and modelling strategies which give them priors or some constraints so that guide them to learn better representations.

Therefore, U-Net might be suitable to learn from Datasets like medical images e.g. abnomality segmentation, while Segformer can be applied to datasets that have latent comlicated relationships e.g. Cityscapes ADE, COCO seg.

Hope you find it helpful.

@pnchuyen
Copy link
Author

pnchuyen commented Apr 8, 2024

Thank you for your response! It is really helpful for me. Did you try to train the segformer model with above dataset? How was it?. Keep up the good work!

@ACSEkevin
Copy link
Owner

Hi,

Sorry that I respond late I've been busy with my work.
Please refer to the original paper which provides all the results.
Hope you find it helpful :)

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

No branches or pull requests

2 participants