hlzhang109 / DDG

MIT License
57 stars 7 forks source link

KeyError: 'is_ddg' && KeyError: 'is_augmix' #4

Closed Lu-Tan closed 2 years ago

Lu-Tan commented 2 years ago

Sorry to bother you again and again, it's the third time I created issue :( . It seems so tough to run the code on my own device.

After preparing datasets, I try to train DDG model on my own device. When I try

python train.py —data_dir dataset —algorithm DDG —dataset PACS

it came: 'KeyError: 'is_augmix' in datasets.py, line 204, in init if hparams['is_augmix']

When I try python train.py —data_dir dataset —algorithm DDG —dataset RotatedMNIST it came: 'KeyError: 'is_ddg' in datasets.py, line 162, in init self.sample_pos = hparams['is_ddg']

yfzhang114 commented 2 years ago

image Done!

Lu-Tan commented 2 years ago

KeyError: 'is_ddg' still exists

yfzhang114 commented 2 years ago

You can try it again now.

Lu-Tan commented 2 years ago

Thank you! But now, KeyError 'eta' occurred :(