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

Questions about retrain the model. #2

Closed
Jackie666666 opened this issue Jul 21, 2022 · 4 comments
Closed

Questions about retrain the model. #2

Jackie666666 opened this issue Jul 21, 2022 · 4 comments

Comments

@Jackie666666
Copy link

Hi, Mr. Umitkacar,
I want use your pre-train model to do ear segmentation in my images dataset.
In my photo, there is no head or face, so your model could not segment the ear,
so I want to fine-tune your model use my images dataset,
but the loss could not converge, and the result is terrible.
I would like to ask for the source training code of your model.
Thank you very much.

@umitkacar
Copy link
Owner

Any image should have a head, face and background. Because there are images in this format in the dataset. Your scenario is very different. Can you share an example image?

@Jackie666666
Copy link
Author

Jackie666666 commented Jul 21, 2022

Any image should have a head, face and background. Because there are images in this format in the dataset. Your scenario is very different. Can you share an example image?

Thank you. This is the image of my dataset.
0001
There is no background in the image, and according your explain, should I train a new model from the scratch?
and what is the loss function & optim function that you utilized in your training procedure?

@umitkacar
Copy link
Owner

umitkacar commented Jul 21, 2022

You can use this repo:
https://github.com/qubvel/segmentation_models.pytorch

@Jackie666666
Copy link
Author

You can use this repo: https://github.com/qubvel/segmentation_models.pytorch

Ok, I am using the repo right now, and the result is better,
Thank you very much.

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

2 participants