Skip to content

Instantly share code, notes, and snippets.

View MadcowD's full-sized avatar
💻
lydian

William Guss MadcowD

💻
lydian
View GitHub Profile
--- original_generator.c
+++ modified_generator.c
@@ -1,6 +1,7 @@
/* Generator object implementation */
#define _PY_INTERPRETER
+#include "pycore_exceptions.h" // For accessing exception attributes
#include "Python.h"
#include "pycore_call.h" // _PyObject_CallNoArgs()
INFO:minerl.env.malmo:Starting Minecraft process: ['/tmp/tmpcajkr4ns/Minecraft/launchClient.sh', '-port', '9001', '-env', '-runDir', '/tmp/tmpcajkr4ns/Minecraft/run']
DEBUG:minerl.env.malmo:This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: ForgeGradle 2.2-SNAPSHOT-3966cea
DEBUG:minerl.env.malmo: https://github.com/MinecraftForge/ForgeGradle
DEBUG:minerl.env.malmo:#################################################
DEBUG:minerl.env.malmo: Powered by MCP unknown
DEBUG:minerl.env.malmo: http://modcoderpack.com
DEBUG:minerl.env.malmo: by: Searge, ProfMobius, Fesh0r,
@MadcowD
MadcowD / waya-dl-setup.sh
Created April 4, 2018 20:27 — forked from mjdietzx/waya-dl-setup.sh
Install CUDA Toolkit v8.0 and cuDNN v6.0 on Ubuntu 16.04
#!/bin/bash
# install CUDA Toolkit v8.0
# instructions from https://developer.nvidia.com/cuda-downloads (linux -> x86_64 -> Ubuntu -> 16.04 -> deb (network))
CUDA_REPO_PKG="cuda-repo-ubuntu1604_8.0.61-1_amd64.deb"
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG}
sudo dpkg -i ${CUDA_REPO_PKG}
sudo apt-get update
sudo apt-get -y install cuda
Check out the [model zoo documentation](http://caffe.berkeleyvision.org/model_zoo.html) for details.
To acquire a model:
1. download the model gist by `./scripts/download_model_from_gist.sh <gist_id> <dirname>` to load the model metadata, architecture, solver configuration, and so on. (`<dirname>` is optional and defaults to caffe/models).
2. download the model weights by `./scripts/download_model_binary.py <model_dir>` where `<model_dir>` is the gist directory from the first step.
or visit the [model zoo documentation](http://caffe.berkeleyvision.org/model_zoo.html) for complete instructions.
### Berkeley-trained models
@MadcowD
MadcowD / Multi Concept Reinforcement Learning.md
Last active September 26, 2016 16:29
OpenAI Gym: Continuous Lunar Lander

Bonsai Multi Concept Reinforcement Learning: Continuous Lunar Lander

The algorithm depicted was programmed in inkling, a meta-level programming language developed by Bons.ai (https://bons.ai/). The following is the program which, when compiled to neural networks, solved the environment.

simulator lunarlander_simulator (LunarLanderConfig) 
   send schema  (GameState)
end
schema GameState
    Float32 x_position,
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'install', 'bcrypt' ]
2 info using npm@3.5.2
3 info using node@v4.2.6
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData bcrypt
8 silly fetchNamedPackageData bcrypt
9 silly mapToRegistry name bcrypt
2016-06-23 17:20:32Z EXPANDRIVE_CLAIM_MOUNTPOINT:8560:Z:
2016-06-23 17:20:32Z lisetning on port 37000
2016-06-23 17:20:32Z [Errno 11001] getaddrinfo failed
2016-06-23 17:20:32Z EXPANDRIVE_CONNECT_PROGRESS:drive_connected
2016-06-23 17:20:32Z EXPANDRIVE_GET_CONFIG:volicon_path
2016-06-23 17:20:32Z Could not find file 'C:\Users\Proje\AppData\Local\ExpanDrive\branding\settings.js'.
2016-06-23 17:20:32Z J: connected
2016-06-23 17:20:32Z J: Connected
2016-06-23 17:20:32Z C:\Program Files (x86)\ExpanDrive\expandrive\site\icons\folder_red.icns
2016-06-23 17:20:32Z EXPANDRIVE_DATACACHE:C:\Users\Proje\AppData\Local\ExpanDrive\Caches\datacache_efnuxw
I should write you a love note.