Skip to content

Instantly share code, notes, and snippets.

@riveSunder
riveSunder / encrypted_reservoir_pysyft_demo.sh
Last active December 3, 2019 12:35
Demonstration of encrypted reservoir learning with PySyft
#!/usr/bin/env bash
# download this script and run by typing 'bash encrypted_reservoir_pysyft_demo.sh' from the command line while in the same directory
# create a new environment with PyTorch 0.3
conda create -n pysyft_demo pytorch=0.3 torchvision matplotlib pip -c pytorch -y
source activate pysyft_demo
# clone PySyft and checkout the required commit
git clone https://github.com/OpenMined/PySyft.git
cd PySyft
@riveSunder
riveSunder / sonicTheDunce.py
Created April 23, 2018 10:12
An ineffective bot for playing Sonic
#from retro_contest.local import make
import numpy as np
#Imports for connecting to contest
import gym_remote.exceptions as gre
import gym_remote.client as grc