Skip to content

Instantly share code, notes, and snippets.

@zhanif3
zhanif3 / machine_learned_index.py
Created December 17, 2017 01:45 — forked from tokestermw/machine_learned_index.py
Using deep learning to approximate a B-Tree index from this paper: https://arxiv.org/abs/1712.01208 (The Case for Learned Index Structures)
import click
import torch
import torch.autograd
import torch.nn.functional as F
from torch.autograd import Variable
import os
import random
import math
from random import randint
import kafka
from kafka import KafkaConsumer
BOOTSTRAP_SERVERS = '127.0.0.1:9092'
topic_name = 'test_topic' + str(randint(0, pow(10, 10)))
print(topic_name)
@zhanif3
zhanif3 / readme.md
Created January 29, 2016 01:25 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman