-
Notifications
You must be signed in to change notification settings - Fork 140
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
Adaptation leads to lower precision. #15
Comments
I had the same problem. I used the original setup, and got very low precision. === Evaluating classifier for source domain === |
Try to lower the lr of target encoder and reduce the number of epoch. |
I have the same issue, thanks for your advice on training whether the result will be good enough. |
@TGISer, @wgqtmac, @Tianlin-Gao - seems like you all got it to work. There's no change to I'm trying to reproduce the same, but getting an error
|
Hi, I try to train on the office31 dataset using your parameters, but i got very low precision. Could you share your code with me?Thanks! |
@Tianlin-Gao, could you please post out the code snippet for the office 31 dataset, I use the same setting and cannot reproduce your reported result. |
I got a similar result to @Tianlin-Gao with office31 dataset. I freezed 1~4th conv blocks of ResNet50 and trained only the 5th block and the classifier, same config (for discriminator: 1e-3, for target encoder: 1e-5) for lr. I resized images to 224 x 224. Adaptation epochs 20 |
I changed the dataset(source data count:20000, target data count:2100)
Result:
source only:
mydata set: Average loss: 2.1571, Accuracy: 1311/2100 (62.00%)
domain adaptation:
mydata set: Average loss: 4.5971, Accuracy: 327/2100 (15.00%)
Because GPU has small memory , I set batchsize=16,Is this batchsize problem?
Thank you for your help!
The text was updated successfully, but these errors were encountered: