From 85c4ba921d56c5dfd47d158f8c436f5e82e6e1c8 Mon Sep 17 00:00:00 2001 From: AGKhalil Date: Wed, 31 Jul 2019 17:17:13 +0200 Subject: [PATCH] PEP8 format docs added --- automatic_cl.py | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/automatic_cl.py b/automatic_cl.py index a72d5a3..fc68021 100644 --- a/automatic_cl.py +++ b/automatic_cl.py @@ -1,5 +1,20 @@ -# Train an agent from scratch with PPO2 and save package and learning graphs -# from OpenGL import GLU +"""Script for running the gym-cl environment. This is to test Automatic Curriculum Generation (ACG) + +Attributes: + env (gym.env): a gym environment + env_name (str): name of the environment + log_dir (str): training log directory path + model (BaseRLModel): RL model for training (prof) + model_loc (str): model save location + model_name (str): model name + models_dir (str): model save directory + n_cpu (int): number of cpus used for multiprocessing + reset_timesteps (int): max number of steps in a prof episode + save_path (str): path to parent directory of all data + stamp (str): time stamp + step_total (int): total prof training time steps + worker_total_timesteps (int): total training time steps per worker +""" import os import time import subprocess