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

Accuracy for Office-Home dataset is quite low #11

Open
ltz0120 opened this issue Nov 15, 2021 · 3 comments
Open

Accuracy for Office-Home dataset is quite low #11

ltz0120 opened this issue Nov 15, 2021 · 3 comments

Comments

@ltz0120
Copy link

ltz0120 commented Nov 15, 2021

Hi,

Thank you for releasing the code.

I run the code on the Office-Home dataset with the default parameters, but I find the accuracy is very low. I also try to tune the parameters, but it seems does not work. Can you provide the parameters that you use for the Office-Home dataset? Thank you.

@NaJaeMin92
Copy link
Owner

Hi @ltz0120

Here is my recipe for Office-Home dataset.

data_transforms = {
'train': transforms.Compose([
    transforms.Resize(256),
    transforms.RandomCrop(224),
    transforms.RandomHorizontalFlip(),
    transforms.ToTensor(),
    transforms.Normalize(
        mean=[0.485, 0.456, 0.406], 
        std=[0.229, 0.224, 0.225])
]),
'test': transforms.Compose([
    transforms.Resize(224),
    transforms.CenterCrop(224),
    transforms.ToTensor(),
    transforms.Normalize(
        mean=[0.485, 0.456, 0.406], 
        std=[0.229, 0.224, 0.225])
])}

I suggest you to tune the hyper-parameters such according to your baseline model.

@ltz0120
Copy link
Author

ltz0120 commented Jan 26, 2022

The method works well in Office 31. For the Office-Home dataset, I tried to tune the parameters, but the results are still quite bad. Could you please share your pre-trained model for Office-Home dataset? Thank you.

@Arsiuuu
Copy link

Arsiuuu commented Mar 24, 2023

@ltz0120
Hi, would you like to share the pretrained models or codes : )

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

3 participants