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
- Host: GitHub
- URL: https://github.com/lc0/tf2up
- Owner: lc0
- License: mit
- Archived: true
- Created: 2019-02-25T07:57:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-29T22:57:48.000Z (over 3 years ago)
- Last Synced: 2024-10-27T19:00:46.657Z (about 1 year ago)
- Topics: gde, poweredbytf, tensorflow, tensorflow-tool, tensorflow2
- Language: Python
- Homepage: http://tf2up.ml/
- Size: 575 KB
- Stars: 13
- Watchers: 3
- Forks: 7
- Open Issues: 14
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-tensorflow-2 - TensorFlow 2.0 upgrader service
README
[tf2up.ml](http://tf2up.ml) - TensorFlow 2.0 upgrader service
===
> [](https://github.com/lc0/tf2up/blob/master/LICENSE)
> [](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
===

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/)
