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.5.2.dev51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df99a65bb7e06c03b7a5f9e2a64d93c8fb4abe6c51b2c525795b1d449882ab07 |
|
MD5 | b8455b77655372605756268f68f09f6b |
|
BLAKE2b-256 | 40a34583a9c0e8d0c0019e6385f17db220b2e0619000883678b68a4174bcaf6a |