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

How to warm up the segmentation model upper-net? #6

Closed
DZhaoXd opened this issue May 3, 2024 · 2 comments
Closed

How to warm up the segmentation model upper-net? #6

DZhaoXd opened this issue May 3, 2024 · 2 comments

Comments

@DZhaoXd
Copy link

DZhaoXd commented May 3, 2024

Great work! I would like to train your model on my own data, but need a warm-up model for the segmentation model upper-net. Can you provide the code for training the segmentation model during the warm-up stage? Thanks

@YumengLi007
Copy link
Member

YumengLi007 commented May 4, 2024

Hi @DZhaoXd , thanks for your interests in ALDM!
For the segmenter, we used the ADE20K pretrained model from semantic-segmentation-pytorch.
Similar to the weights modification in ControlNet tool_add_control.py, you could then add one more channel in the final classification head of your trained segmenter for the extra "fake" class

@DZhaoXd
Copy link
Author

DZhaoXd commented May 4, 2024

Thank you for your positive response. I will try it.

@DZhaoXd DZhaoXd closed this as completed May 4, 2024
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