Skip to content

Instantly share code, notes, and snippets.

@prhbrt
prhbrt / Holistically-Nested Edge Detection Paper Example.ipynb
Last active January 9, 2019 09:41
Holistically-Nested Edge Detection Paper Example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import numpy
from gensim.models.keyedvectors import Vocab, KeyedVectors
# Covert the Twitter datasets found here to gensim word2vec format: https://github.com/3Top/word2vec-api
with open('glove.6B.300d.txt') as fin:
word_vecs = {
word: numpy.array(list(map(float, vec.split())))
for line in fin
for word, vec in [line.split(' ', 1)]
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@prhbrt
prhbrt / Paalplekken.ipynb
Last active August 4, 2017 09:35
Paalplekken of logerenbijdeboswachter, places in Holland where you're allowed to camp free(ish)ly
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@prhbrt
prhbrt / Keras.ipynb
Created January 19, 2017 15:59
V-Net in Keras and tensorflow
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@prhbrt
prhbrt / IMDB + TFIDF + LogReg.ipynb
Last active March 25, 2019 05:38
Notebook of TFIDF Logistic regression on IMDB sentiment dataset (provided by keras)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.