-
Notifications
You must be signed in to change notification settings - Fork 3
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
oracle.pth and classifier.pth #2
Comments
Hello, We did not train any classifier. The classifier and the oracle, we trained them using the DiVE's code. We shared the weights for future work to compare more fairly with us. The idea of our work is to generate counterfactuals for a given classifier. With respect to the oracle, could you be more specific about what did you not understand? (eg. what is used for?) |
Hello, I want to know which specific attribute the target label in the repo refers to (smile or young or something else?) Does "target_label=-1" in the parameter refer to the last column "young"? Can counterfactuals based on other attributes (such as Male) be generated by simply modifying the value of target_label? Thank you for your help! |
Hi, There are two flags you need to take into account when generating the counterfactuals.
|
Hello, Thank you very much for your patient answer!But I still have doubts about "--target label". Employing the smile attribute as an illustrative example, my interpretation posits that "target label =1" corresponds to the generation of smiling images, whereas "target label =0" corresponds to the generation of non-smiling images. Is this correct to understand? Thank you for your help! |
Exactly! |
Hello
I want to train this repo on my own dataset but I have a problem with "oracle.pth" and "classifier.pt" ...
after taking a look at guided-diffusion, I found that "image_train.py" is the same as "celeba_train_diffusion.py" but I couldn't find "classifier_train.py" in this repo to get "classifier.pth". and actually, I couldn't understand "oracle.pth".
Thank you for your help
The text was updated successfully, but these errors were encountered: