Spotify-specific helpers for TensorFlow
Project description
# spotify-tensorflow
[![Build Status](https://img.shields.io/circleci/project/github/spotify/spotify-tensorflow/master.svg)](https://circleci.com/gh/spotify/spotify-tensorflow) [![Coverage](https://img.shields.io/codecov/c/github/spotify/spotify-tensorflow/master.svg?style=flat)](https://codecov.io/github/spotify/spotify-tensorflow?branch=master) [![GitHub license](https://img.shields.io/github/license/spotify/spotify-tensorflow.svg)](./LICENSE) [![PyPI version](https://badge.fury.io/py/spotify_tensorflow.svg)](https://badge.fury.io/py/spotify_tensorflow)
## Raison d’être:
Provide Spotify specific TensorFlow helpers.
## Features
tf.data integration with [Featran](https://github.com/spotify/featran)
common Dataset API to read: * TFRecord datasets as tf.Tensor * TFRecord datasets as Pandas DataFrame * TFRecord datasets as python dict
tf.Graph freezing utilities
TensorFlow integration with [Luigi](https://github.com/spotify/luigi)
## Examples:
Check examples in the [examples directory](https://github.com/spotify/spotify-tensorflow/tree/master/examples), currently they include:
sklearn training via Pandas DataFrame dataset
XGBoost training via tf.Example dataset
TensorFlow training via tf.Example dataset
To run the examples:
`sh $ pip install -e .[examples,tfx] $ bin/run-examples `
## Development:
This project uses tox.
`sh $ pip install tox `
To see all testenv’s:
`sh $ tox -l mypy lint examples test-tf18 test-tf19 test `
To run the tests:
` tox -e test `
To release:
` python setup.py sdist upload -r pypi `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for spotify_tensorflow-0.6.1.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e8e7ba3b70dd455fb5998c10c1c963e12fa706bf29b107e7ee70bd3c98cd03c |
|
MD5 | 4227a297e116a992b5e756df6f7b837b |
|
BLAKE2b-256 | c7cf7457f11a192c82add4e07be9a27127ff2dd08f4750d679f1c176272b6cba |