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)
## Purpose:
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] $ bin/run-examples `
## Development:
This project uses tox.
`sh $ pip install tox `
To see all testenv’s:
`sh $ tox -l mypy lint examples-py27 examples-py35 test-py27 test-py35 upload-coverage license `
To run the tests:
` tox -e test `
To release:
` git commit --allow-empty -m "Release x.y.z" git tag x.y.z git push --tags origin master `
Then upload to pypi:
` 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
File details
Details for the file spotify_tensorflow-0.7.7.tar.gz
.
File metadata
- Download URL: spotify_tensorflow-0.7.7.tar.gz
- Upload date:
- Size: 327.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18bf15182c2a20187e26c8206e846caddff8bda88865f80e0756f37f13ffdd5b |
|
MD5 | 23eb32b12ab0a51d61f232e94c21eeb1 |
|
BLAKE2b-256 | 0b48415fa10b97a989911aca776df010f373aa490f423e7eef68f083011a4f03 |