Skip to content

Instantly share code, notes, and snippets.

View deercoder's full-sized avatar

Chang Liu deercoder

View GitHub Profile
@chenshuo
chenshuo / typoglycemia.cc
Created November 5, 2012 18:42
Typoglycemia
// answer to http://blog.zhaojie.me/2012/11/how-to-generate-typoglycemia-text.html
#include <algorithm>
#include <iostream>
#include <string>
#include <assert.h>
#include <ctype.h>
using std::string;
void randomizeWord(char* str, int len)
@rafaspadilha
rafaspadilha / customLayerTutorial.md
Last active August 12, 2022 03:28
Caffe Python Layer

How to create a custom Caffe layer in Python?

This tutorial will guide through the steps to create a simple custom layer for Caffe using python. By the end of it, there are some examples of custom layers.

- Why would I want to do that?

Usually you would create a custom layer to implement a funcionality that isn't available in Caffe, tuning it for your requirements.

- What will I need?

Probably just Python and Caffe installed.

- Is there any downside?