Last updated
Last updated
Benchmark results for an algorithm requires running it for a number of environments. This can easily be done in SLM Lab by parametrizing the spec file, which is similar to how it was done in . Running benchmark in SLM Lab is easy by using spec_params in the spec file, which uses .
Let's run a benchmark for A2C on 4 Atari environments. We can look at an example spec from
Spec param uses template string replacement to modify the spec and append to the spec name. Replace the value of the environment name with "${env}"
.
This benchmark will run 4 trials in total. The command to run it is familiar:
The spec name will be replaced with each value of the spec param, so the resulting trials will be named "a2c_gae_atari_BreakoutNoFrameskip-v4", "a2c_gae_atari_PongNoFrameskip-v4", "a2c_gae_atari_QbertNoFrameskip-v4", and "a2c_gae_atari_SeaquestNoFrameskip-v4".
Refer to the following pages for benchmark results in SLM Lab.
All the SLM Lab benchmark results are run from files in .