Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

import numpy as np
import gym
from gym import wrappers
env = gym.make('CartPole-v0')
nsteps = 200
def run_episode(env, parameters):
observation = env.reset()
totalreward = 0
@akarazeev
akarazeev / .vmdrc
Created January 6, 2017 22:04
Molecular Dynamic visualisation using VMD
# light controlling
# turn on lights 0 and 1
light 0 on
light 1 on
light 2 off
light 3 off
# position the stage and axes
axes location off
stage location off
@akarazeev
akarazeev / my_profiles.md
Last active December 1, 2016 00:36
All links to my profiles are listed here
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.