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

Training issue #9

Open
chiawenhuanghuang opened this issue Nov 25, 2023 · 4 comments
Open

Training issue #9

chiawenhuanghuang opened this issue Nov 25, 2023 · 4 comments

Comments

@chiawenhuanghuang
Copy link

chiawenhuanghuang commented Nov 25, 2023

Thank you for providing the code, you did a great work. However, I am still a bit confused after reading the README, as it only mentions the training method for Segmentation. I want to ask, in the code, are both the classification branch and segmentation branch trained using train_single.py? train_single.py seems like it's for segmentation training, so how is the classification part trained if I use my own dataset?

@yuhuan-wu
Copy link
Owner

yuhuan-wu commented Nov 29, 2023

Thanks a lot for your enquiry. train_single.py is to train the segmentation branch. During the joint training stage, you could load the trained weights of segmentation branch (pretrained on segmentation maps) and the classification branch (pretrained on image-level maps) separately, then conducting the joint training (finetuning).

@chiawenhuanghuang
Copy link
Author

Thank you for your response. I need assistance with two issues:

  1. How can I train a classification branch using techniques like image mixing and pixel-level supervision for activation mapping, as mentioned in the paper?
  2. Is the code for this specific part, especially for training a classification branch on a custom dataset, available in this GitHub repository?

@yuhuan-wu
Copy link
Owner

We have no plans to release the entire code of training the classification branch currently.
However, you can reimplement the training process as all details (process, hyper-params) have been explained clearly in our paper.
Thank you for your understanding.

@chiawenhuanghuang
Copy link
Author

Thanks for your clarification. I appreciate your great work. Have a nice day!

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