Skip to content

Instantly share code, notes, and snippets.

View krishpop's full-sized avatar
💻

Krishnan Srinivasan krishpop

💻
  • United States
View GitHub Profile
@krishpop
krishpop / spinup_run_script.py
Created June 28, 2019 00:38
Minimal example of Spinup Experiment (DDPG)
from spinup.utils.run_utils import ExperimentGrid
from spinup import ddpg
import gym
import tensorflow as tf
def run_experiment(args):
def env_fn():
import envs # registers custom envs to gym env registry
return gym.make(args.env_name)