An open API service indexing awesome lists of open source software.

https://github.com/lc0/tf2up

👨‍🎨A tiny web service to help you upgrade your TensorFlow code
https://github.com/lc0/tf2up

gde poweredbytf tensorflow tensorflow-tool tensorflow2

Last synced: 8 months ago
JSON representation

👨‍🎨A tiny web service to help you upgrade your TensorFlow code

Awesome Lists containing this project

README

          

[tf2up.ml](http://tf2up.ml) - TensorFlow 2.0 upgrader service
===
> [![GitHub license](https://img.shields.io/github/license/lc0/tf2up.svg)](https://github.com/lc0/tf2up/blob/master/LICENSE)
> [![Twitter](https://img.shields.io/twitter/url/https/github.com/lc0/tf2up.svg?style=social)](https://twitter.com/intent/tweet?hashtags=TensorFlow&original_referer=http%3A%2F%2Ftf2up.ml%2F&ref_src=twsrc%5Etfw&related=lc0d3r&text=http%3A%2F%2Ftf2up.ml%20-%20%40TensorFlow%202.0%20upgrader%20service%2C%20even%20easier%20upgrade%20to%20%23TensorFlow%202.0%20by%20%40lc0d3r&tw_p=tweetbutton&url=http%3A%2F%2Ftf2up.ml%2F)

Idea is to make upgrade process to TensorFlow 2.0 of your Jupyter notebooks even easier!

Bookmarklet
===
```
javascript:(function(){ window.open(window.location.toString().replace(/.*github\.com\/(.*)/, 'http://tf2up.ml/\$1')); })()
```

Demo
===
![](http://g.recordit.co/pb20z8rkY0.gif)

How it works
===
This project is standing on the shoulders of giants:
- TensorFlow's [tf_upgrade_v2](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/compatibility) with brand new support of [inline jupyter notebook conversion](https://github.com/tensorflow/tensorflow/pull/25680)
- [nbdime](https://github.com/jupyter/nbdime) for generating nice diffs for before and after
- [Kubernetes + Helm](https://kubernetes.io/) for deploying this tiny service

Contributing
===
In order to run locally:

Main part: we need to build a docker image and run with local `NBDIME_URL`
```sh
make build -e
```
Start nbdime container in a separate terminal
```sh
make nbbuild nbrun
```
Now you can run the docker image with
```sh
make run
```

Kudos
===
Thanks to all amazing people, that in one or another way helped this project:
- [@DynamicWebPaige](https://twitter.com/DynamicWebPaige) for supporting and making TF community awesome
- [Daria Korkuna](https://www.dariakorkuna.com/) for creating the logo
- [Jun Santos](https://github.com/santosjun) for frontend revamp
- [Martin Wicke](https://twitter.com/martin_wicke) for TF2, cake, and feedback
- [Jerry Kurata](https://twitter.com/jerrykur) for testing the early versions of the upgrader

Citation
===
```
@misc{tf2up,
author = {Sergii Khomenko},
title = {tf2up.ml: TensorFlow 2.0 upgrader service},
howpublished = {\url{https://github.com/lc0/tf2up}}
}
```

---
> GitHub [@lc0](https://github.com/lc0)  · 
> Twitter [@lc0d3r](https://twitter.com/lc0d3r)  · 
> [Code and Gradients](https://codeand.gradients.ml/)