Skip to content

Reproduce the main results of the paper——main experiments #21

@Hjwinging

Description

@Hjwinging

Thank you very much for providing the code for this paper. I have some questions that I would like your assistance with. While replicating the experiments in this paper, particularly the domain generalization experiment on the PACS dataset in the "Main Experiments" section, I used the following command line,“python train_all.py PACS --data_dir /my/dataset/path --algorithm MIRO --dataset PACS --lr 3e-5 --resnet_dropout 0.0 --weight_decay 0.0 --ld 0.01”. I then employed different random seeds (0, 1, 2), but the experimental results, as shown in the three images below, did not achieve the accuracy of 85.4%±0.4 reported in the paper. I hope you can provide me with the correct method and details for replication.Thank you again.

Image

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions