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

Adding util file to generate the json files #121

Closed alexrey88 closed 4 years ago

alexrey88 commented 4 years ago

I modified the make_json_file function so that it can create a train and a validation json file based on a pourcentage of validation data that we want. And I added a util file that we can call directly from the command line with the arguments needed by the function.