Skip to content

Instantly share code, notes, and snippets.

View sergeyk's full-sized avatar

Sergey Karayev sergeyk

View GitHub Profile
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "imagenet2"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sergeyk
sergeyk / gene_correlations.ipynb
Last active December 11, 2015 20:19
Plotting some (outdated) art genome gene correlation data for Leonard.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sergeyk
sergeyk / return_image_and_plot_with_flask.py
Created January 15, 2013 05:50
Demonstration of how to return an image generated with numpy and a plot generated with matplotlib using the Flask web server.
"""
Demonstration of how to return an image generated with numpy and a plot
generated with matplotlib using the Flask web server.
Requirements: numpy, flask, scikit-image, matplotlib.
"""
import cStringIO as StringIO
from flask import Flask, send_file
import numpy as np