cc-ai / climategan

Code and pre-trained model for the algorithm generating visualisations of 3 climate change related events: floods, wildfires and smog.
https://thisclimatedoesnotexist.com
GNU General Public License v3.0
75 stars 18 forks source link

Add hydra #99

Closed vict0rsch closed 4 years ago

vict0rsch commented 4 years ago

Adding a cool feature: Hydra to map command-line args to configuration:

now python train.py data.loaders.num_workers=10 gen.encoder.n_res=128 will do exactly what you'd expect it to do

see https://hydra.cc (v0.11)

I'll explain how it works when I'm sure it's all good

sashavor commented 4 years ago

Looks like there is a conflict that should be resolved before merging? it's just the name of the branch,I think...

vict0rsch commented 4 years ago

@sashavor you're right there was a conflict because Tianyu commented out a bad import and I removed it so it was conflicting but I just deleted it in the end