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
import numpy as np | |
import os | |
import tensorflow as tf | |
import vgg | |
import vgg_preprocessing | |
from pycocotools.coco import COCO | |
slim = tf.contrib.slim | |
LOG_DIR = './log/fe' |
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
import caffe_pb2 as proto | |
import leveldb | |
import sys | |
db = leveldb.LevelDB('./cifar_test',block_size=40 * (2 << 20) ) | |
import struct | |
def unpickle(file): | |
import cPickle |
NewerOlder