Skip to content

Instantly share code, notes, and snippets.

@svirg
svirg / freeze-tf-model.py
Created January 15, 2018 08:38
Freezes tensorflow model
#!/usr/bin/env python
import argparse
import tensorflow as tf
from tensorflow.python.framework import graph_util
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Freezes tensorflow model')
parser.add_argument(
'--outputs', required=True,
@svirg
svirg / fft_compression.ipynb
Created September 5, 2016 06:24
fft compression
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@svirg
svirg / cosine_distances.ipynb
Last active September 5, 2016 06:25
Expectations of pairwise cosine distance in multidimensional spaces
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.