View mobile_speed_benchmark.cc
#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.");
View deep lena
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View mr_compute_gist.py
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
View ypickle.py
"""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