-
Notifications
You must be signed in to change notification settings - Fork 28
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
Logistic regression model #15
Comments
Hello @river-afk |
Thank you @YangZhang4065 , it is much clearer now. Btw in the paper you said that the backbone was the Inception-ResNet-v2, not VGG? Also, how many epoches did you use to train the regression model? |
Another question is that in the TPAMI paper, you use the cross-entropy loss to train logistic regression: "... we thus train it by replacing the one-hot vectors in the cross-entropy loss with the ground-truth label distribution ps, which is counted by using eq. (1) from the human labels of the source domain" (Sec 3.3.1). So is it KL or CE? |
@river-afk Sorry for the late reply. |
I'm trying to implement your global label distribution algorithm, I did as you told above except that I use the images' VGG features as input, but when validation, I can just get value 0 of Chi-square, could you please give me some advice about this situation? Thank u! |
@chccgiven Well, Chi-square distance is 0 means that your validation prediction is identical to GT. this either means your preditor is perfect (not possible) or there is a bug somewhere. |
Thank u for your kind reply! |
Hi @chccgiven, I did not use the scipy chisquare, though I believe it should perform the job pretty well. I was using an implementation in MATLAB back at that time. |
Hello @YangZhang4065 ,
Thanks for the nice work. I'm trying to train model to estimate the global label distribution. Can you give more details of the architecture and training scheme?
Thanks!
The text was updated successfully, but these errors were encountered: