Skip to content

Instantly share code, notes, and snippets.

Avatar

Joe Booth Sohojoe

View GitHub Profile
View dyna_maze.py
# from: https://github.com/thehawkgriffith/dyna-maze
import numpy as np
import os
import matplotlib.pyplot as plt
from time import sleep
StateMemory = []
ActionMemory = {}
@Sohojoe
Sohojoe / TrainingPerformance.tsv
Last active Nov 18, 2018
Training Performance
View TrainingPerformance.tsv
Environment Training Steps Training Time Steps Per Second
Hopper 4,800,000 36m 31s 2,190
Walker 4,800,000 37m 14s 2,149
Humanoid 16,000,000 3h 37m 1,229
Ant 4,800,000 35m 55s 2,359
@Sohojoe
Sohojoe / MarathonSpawner.cs
Created Nov 16, 2018
MarathonEnviroments fix for globalization
View MarathonSpawner.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using UnityEngine;
namespace MLAgents
{
@Sohojoe
Sohojoe / continuous_trainer.py
Last active Dec 15, 2019
OpenAi.Gym.Baselines.DeepQ Restoring checkpoint in next training
View continuous_trainer.py
import os
import subprocess
import threading
import sys
from signal import *
cur_path = os.path.dirname(os.path.realpath(__file__))
@Sohojoe
Sohojoe / .block
Last active Mar 27, 2017
Force Editor + Pan/Zoom
View .block
license: mit
@Sohojoe
Sohojoe / README.md
Last active Mar 24, 2017 — forked from jhb/README.md
Graph with labeled edges
View README.md

A graph with force layout (using d3.js) and labels on edges, autorotation of those labels and arrowheads. 22

View main.cs
using System.Linq;
using ServiceStack;
using ServiceStack.Text;
using System;
using System.Threading.Tasks;
using Orions.Cloud.Client.Http;
using Orions.Cloud.Common.Data;
using System.Collections.Generic;
const string AppAccessToken = "eyJ0eXAiOiJDU1AiLCAiZW5jIjoiUlNBX09BRVAifQ.GiJl1NAy9E64OtcqoeE5NedwGylIXwK5F39m_5v0NnGm2zWmJ3x6Hhx0c65QbCZL8v2wJRe6kxTf4KYBaFohSoyu2Z-LJmJFOScSQqeUgbi62amT636Y6wIDoM84oQ23R5v2NPL8n7wwtQecx7_xa5lYgnNFDlq1pb41KXQT65I.66yEgL7AapwReAGV.jEhvqHMvF_TGr0eMIK2X1yBw2paVxUq8eW9JUlXdArISpg3cVNqcWhcSKpHvig.YB9A05OjxOCEonAOXJDXlw";
@Sohojoe
Sohojoe / App.Config
Created Jan 29, 2017
New Public Gist
View App.Config
// App.Config
// Created by Sohojoe on 2017/01/28
@Sohojoe
Sohojoe / .gitignore
Last active Jun 23, 2016 — forked from wingedsheep/evolution.py
Simple Neuroevolution Cartpole
@Sohojoe
Sohojoe / _kerlym_pong_fail.md
Last active Jun 12, 2016
kerlym pong.py does not work with default settings
View _kerlym_pong_fail.md