File size: 955 Bytes
079c32c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import bsuite
from bsuite import sweep

# List the configurations for the given experiment
for bsuite_id in sweep.BANDIT_NOISE:
    env = bsuite.load_from_id(bsuite_id)
    print('bsuite_id={}, settings={}, num_episodes={}'
          .format(bsuite_id, sweep.SETTINGS[bsuite_id], env.bsuite_num_episodes))

for bsuite_id in sweep.CARTPOLE_SWINGUP:
    env = bsuite.load_from_id(bsuite_id)
    print('bsuite_id={}, settings={}, num_episodes={}'
          .format(bsuite_id, sweep.SETTINGS[bsuite_id], env.bsuite_num_episodes))

for bsuite_id in sweep.MEMORY_LEN:
    env = bsuite.load_from_id(bsuite_id)
    print('bsuite_id={}, settings={}, num_episodes={}'
          .format(bsuite_id, sweep.SETTINGS[bsuite_id], env.bsuite_num_episodes))

for bsuite_id in sweep.MEMORY_SIZE:
    env = bsuite.load_from_id(bsuite_id)
    print('bsuite_id={}, settings={}, num_episodes={}'
          .format(bsuite_id, sweep.SETTINGS[bsuite_id], env.bsuite_num_episodes))