Skip to content

Instantly share code, notes, and snippets.

View bamos's full-sized avatar
❤️
❤️❤️❤️❤️❤️❤️❤️❤️

Brandon Amos bamos

❤️
❤️❤️❤️❤️❤️❤️❤️❤️
View GitHub Profile
#!/usr/bin/env python3
import numpy as np
import gym
from baselines.common.vec_env.subproc_vec_env import SubprocVecEnv
env_name = 'Pendulum-v0'
nproc = 8
T = 10
#!/usr/bin/env python3
import argparse
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
plt.style.use('bmh')
import numpy as np
import pandas as pd
nan
1 nn.Sequential {
[input -> (1) -> (2) -> (3) -> (4) -> (5) -> (6) -> (7) -> (8) -> (9) -> (10) -> (11) -> (12) -> (13) -> (14) -> (15) -> (16) -> (17) -> (18) -> (19) -> (20) -> (21) -> (22) -> (23) -> (24) -> output]
(1): nn.SpatialConvolution(3 -> 64, 7x7, 2,2, 3,3)
(2): nn.SpatialBatchNormalization
(3): nn.ReLU
(4): nn.SpatialMaxPooling(3x3, 2,2, 1,1)
(5): nn.SpatialCrossMapLRN
(6): nn.SpatialConvolution(64 -> 64, 1x1)
(7): nn.SpatialBatchNormalization
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
%22clamp%22
%27chiyaan%27-vikram
%27mama%27-cass-elliot
%27snub%27-pollard
%27superfly%27-jimmy-snuka
%27weird-al%27-yankovic
%28-estrella-lin-%29-lin-wei-ling
%C3%B8yvind-larsen-runestad
02:58:54 10244 .DS_Stor
12012
@bamos
bamos / openface-data-example
Created January 26, 2016 15:50
OpenFace Data Example
$ tree data/mydataset/raw
person-1
├── image-1.jpg
├── image-2.png
...
└── image-p.png
...
person-m
@bamos
bamos / _OpenFaceAlignmentUpdate_Output
Last active December 11, 2015 17:50
OpenFace Alignment Update
Mean: 0.21204432748784804
Stdev: 0.24856266429793847
This file has been truncated, but you can view the full file.
-- ignore option data
nDonkeys 0 2
-- ignore option optimState
-- ignore option cache
-- ignore option retrain
{
testBatchSize : 12
LR : 0
batchSize : 128
data : "/home/bamos/fbcunn_imagenet/imagenet_raw_images"
This file has been truncated, but you can view the full file.
-- ignore option data
-- ignore option optimState
-- ignore option cache
-- ignore option retrain
{
testBatchSize : 12
LR : 0
batchSize : 128
data : "/home/bamos/fbcunn_imagenet/imagenet_raw_images"
netType : "alexnet"
@bamos
bamos / results
Last active August 29, 2015 14:24
Missing first character when piping script into mutt with cron
# Manually running script
test1: test Tue Jul 7 09:41:01 EDT 2015
test2: test Tue Jul 7 09:41:01 EDT 2015
email: test Tue Jul 7 09:41:01 EDT 2015
# Running script in cron
Entry: * * * * * /home/bamos/tmp/test.sh