google-deepmind / bsuite

bsuite is a collection of carefully-designed experiments that investigate core capabilities of a reinforcement learning (RL) agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add the results to results.py? What's the results format should be?

yvxxyh opened this issue · comments

What value should be assigned to “experiments = {}”?

code:
bsuite/analysis/results.ipynb

`
#@ title loading results from local data:

experiments = {} # Add results here

DF, SWEEP_VARS = sqlite_load.load_bsuite(experiments)
`

That answer depends on what sort of logging you used to run your experiments...

but, if you did csv logging then it should be the path to the folder where all the csv files are written.

An example is provided in the colab tutorial:
https://colab.sandbox.google.com/drive/1rU20zJ281sZuMD1DHbsODFr1DbASL0RH

Here, we save to SAVE_PATH_RAND = '/tmp/bsuite/rand' and that's what you also pass to load the results