nazaruka / gym-http-api

NSGA2-based Sonic agent + experimental code
MIT License
1 stars 1 forks source link

Log scores and behaviors from each generation #36

Closed schrum2 closed 5 years ago

schrum2 commented 5 years ago

There needs to be a way to log to text file the complete scores and behavior vectors of every individual after each generation, but this can't really be done properly until #35 is resolved.

schrum2 commented 5 years ago

Logging works, but should probably save in a subdir and change the save file names

schrum2 commented 5 years ago

Work on this issue and #31 together. When an experiment starts, create a sub dir with a name like: 2019-07-09-GreenHillZone.Act1-lamarck The log file already has a similar name. Save the log file 2019-07-09-GreenHillZone.Act1-lamarck-log.txt In this directory. Currently this file is just saved in the experiment root.

Also in this directory, save the scores from each generation. Currently, the program saved files with names like the following to the root directory: 2019-07-09-GreenHillZone.Act1-lamarck-log.txt.parents.gen0.txt 2019-07-09-GreenHillZone.Act1-lamarck-log.txt.combined.gen0.txt However, if these files are placed in a subdir with the rest of the files above, they could just have names like parents.gen0.txt combined.gen0.txt

nazaruka commented 5 years ago

A few notes: