Closed ansj11 closed 4 months ago
We load config file using 'hydra' package.
The override must using '=',
so you can change your command to
python train_p_diff.py task=cifar100 system=ae_ddpm
,
If you have any questions feel free to ask us!
Thank you very much, I can run the code successifully!
I am running python train_p_diff.py --task cifar100 --system ae_ddpm, but get following error
usage: train_p_diff.py [--help] [--hydra-help] [--version] [--cfg {job,hydra,all}] [--resolve] [--package PACKAGE] [--run] [--multirun] [--shell-completion] [--config-path CONFIG_PATH] [--config-name CONFIG_NAME] [--config-dir CONFIG_DIR] [--experimental-rerun EXPERIMENTAL_RERUN] [--info [{all,config,defaults,defaults-tree,plugins,searchpath}]] [overrides [overrides ...]] train_p_diff.py: error: unrecognized arguments: --task --system ae_ddpm