This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""ypickle.py implements an interface similar to pickle, but allows one to | |
perform a matlab-like store and load with zlib compression | |
""" | |
import cPickle as pickle | |
import zlib | |
class YPickle(object): | |
"""The abstract class that holds the data as attributes | |
""" | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mincepie import mapreducer, launcher | |
import gflags | |
import glob | |
import leargist | |
import numpy as np | |
import os | |
from PIL import Image | |
import uuid | |
# constant value |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "caffe2/core/init.h" | |
#include "caffe2/core/operator.h" | |
#include "caffe2/proto/caffe2.pb.h" | |
#include "caffe2/utils/proto_utils.h" | |
#include "caffe2/core/logging.h" | |
#include <regex> | |
#include <string> | |
CAFFE2_DEFINE_string(net, "", "The given net to benchmark."); |