spinup/user_config.py (14 lines of code) (raw):
import os
import os.path as osp
# Default neural network backend for each algo
# (Must be either 'tf1' or 'pytorch')
DEFAULT_BACKEND = {
'vpg': 'pytorch',
'trpo': 'tf1',
'ppo': 'pytorch',
'ddpg': 'pytorch',
'td3': 'pytorch',
'sac': 'pytorch'
}
# Where experiment outputs are saved by default:
DEFAULT_DATA_DIR = osp.join(osp.abspath(osp.dirname(osp.dirname(__file__))),'data')
# Whether to automatically insert a date and time stamp into the names of
# save directories:
FORCE_DATESTAMP = False
# Whether GridSearch provides automatically-generated default shorthands:
DEFAULT_SHORTHAND = True
# Tells the GridSearch how many seconds to pause for before launching
# experiments.
WAIT_BEFORE_LAUNCH = 5