Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spotify/spotify-tensorflow
Provides Spotify-specific TensorFlow helpers
https://github.com/spotify/spotify-tensorflow
python tensorflow utils
Last synced: 7 days ago
JSON representation
Provides Spotify-specific TensorFlow helpers
- Host: GitHub
- URL: https://github.com/spotify/spotify-tensorflow
- Owner: spotify
- License: apache-2.0
- Created: 2017-08-15T17:05:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-18T21:00:56.000Z (over 1 year ago)
- Last Synced: 2024-09-18T02:19:09.227Z (about 2 months ago)
- Topics: python, tensorflow, utils
- Language: Python
- Homepage:
- Size: 1.04 MB
- Stars: 124
- Watchers: 27
- Forks: 25
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MAINTENANCE MODE
================THIS PROJECT IS IN MAINTENANCE MODE DUE TO THE FACT THAT IT'S NOT WIDELY USED WITHIN SPOTIFY. WE'LL PROVIDE BEST EFFORT SUPPORT FOR ISSUES AND PULL REQUESTS BUT DO EXPECT DELAY IN RESPONSES.
# 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 datasetTo 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
```