Skip to content

Instantly share code, notes, and snippets.

Sebastian Ibarguen sebasibarguen

  • Design Engine
  • Mexico City
Block or report user

Report or block sebasibarguen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sebasibarguen /
Created May 17, 2018 — forked from greydanus/
Solves Pong with Policy Gradients in Tensorflow.
'''Solves Pong with Policy Gradients in Tensorflow.'''
# written October 2016 by Sam Greydanus
# inspired by karpathy's
import numpy as np
import gym
import tensorflow as tf
# hyperparameters
n_obs = 80 * 80 # dimensionality of observations
h = 200 # number of hidden layer neurons
View Basic CSS structure
body {
background-color: white;
h1, h2 {
color: black;
.lesson {
padding: 10px;
margin: 10px;
View gist:6040393
from google.appengine.ext import ndb
form = generate_form(MyModel)
>>> print form
[ {'Email' : '<input type="text" name="email">'} ]
You can’t perform that action at this time.