You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Really appreciate the open-source domain generalization framework. It is really amazing.
I'm currently working on replicating the results and extending my work on the current framework. Do you mind sharing the parameters for each baseline to replicate the results mentioned in your AAAI-2020 (DDAIG)? When I tried to replicate the baseline results of CrossGrad and DomainMix, the results were much worse than the paper. I guess it may be caused by the parameter tunning because I'm currently using the default settings of the framework (I didn't change any single line of the framework). In the config files, there are only configs about DDAIG, DAELDG, and Vanilla. (All these three are very good).
On the other hand, could you please post an instruction about how to run MixStyle and EFDM by the framework?
Thank you very much!
The text was updated successfully, but these errors were encountered:
I wasn't the one submitting the DomainMix code. Perhaps you can check with the author who submitted the PR.
The example of running MixStyle or EFDMix on, e.g., pacs, is
pythontools/train.py \
--root ${DATA_ROOT} \
--seed1 \
--trainerVanilla \ # aka ERM--dataset-config-fileconfigs/datasets/dg/pacs.yaml \ # the standard params for the pacs dataset--config-fileconfigs/trainers/dg/vanilla/pacs.yaml \ # the custom params for vanilla--source-domainsart_paintingcartoonphoto \
--target-domainssketch \
--output-dir ${OUTPUT_DIR} \
MODEL.BACKBONE.NAMEresnet18_ms_l12# this will override the model name in configs/datasets/dg/pacs.yaml
To use Dassl as a library, I'd suggest you take a look at the structure of https://github.com/KaiyangZhou/mixstyle-release/tree/master/imcls and https://github.com/KaiyangZhou/CoOp. Don't need to dig deep into the code. Just follow the structure. So basically you need to 1) have train.py and add your trainer's config variables, 2) create folders for trainers, datasets (if you have new datasets), or models (if you use custom models not provided in this repo).
For instance, for a new project you typically need to have
Dear Kaiyang
Really appreciate the open-source domain generalization framework. It is really amazing.
I'm currently working on replicating the results and extending my work on the current framework. Do you mind sharing the parameters for each baseline to replicate the results mentioned in your AAAI-2020 (DDAIG)? When I tried to replicate the baseline results of CrossGrad and DomainMix, the results were much worse than the paper. I guess it may be caused by the parameter tunning because I'm currently using the default settings of the framework (I didn't change any single line of the framework). In the config files, there are only configs about DDAIG, DAELDG, and Vanilla. (All these three are very good).
On the other hand, could you please post an instruction about how to run MixStyle and EFDM by the framework?
Thank you very much!
The text was updated successfully, but these errors were encountered: