Skip to content

Instantly share code, notes, and snippets.

View dhaneshr's full-sized avatar
💭
coding

Dhanesh Ramachandram dhaneshr

💭
coding
View GitHub Profile
@dhaneshr
dhaneshr / vgg_16.prototxt
Created April 13, 2017 14:17
autocolorize
name: "train"
layer {
name: "bgr01"
type: "ExtendedImageData"
top: "bgr01"
image_data_param {
root_folder: ""
source: "/path/to/train.txt"
# Changing this needs changing in the "sampler_float" layer too
@dhaneshr
dhaneshr / optimizers.py
Created December 2, 2015 20:48 — forked from kastnerkyle/optimizers.py
Theano optimizers
# Authors: Kyle Kastner
# License: BSD 3-clause
import theano.tensor as T
import numpy as np
import theano
class rmsprop(object):
"""
RMSProp with nesterov momentum and gradient rescaling
@dhaneshr
dhaneshr / adam.py
Created November 30, 2015 23:00 — forked from Newmu/adam.py
Adam Optimizer
"""
The MIT License (MIT)
Copyright (c) 2015 Alec Radford
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is