https://github.com/mendezjesus/python_to_web
Training a neural network using TensorFlow and Python, then running it in the browser using TensorFlow.js.
https://github.com/mendezjesus/python_to_web
tensorflow tensorflow-examples tensorflow-js tensorflow-models tensorflow-tutorials tensorflow2 tensorflowjs
Last synced: over 1 year ago
JSON representation
Training a neural network using TensorFlow and Python, then running it in the browser using TensorFlow.js.
- Host: GitHub
- URL: https://github.com/mendezjesus/python_to_web
- Owner: MendezJesus
- Created: 2021-10-20T22:21:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-27T18:08:05.000Z (over 4 years ago)
- Last Synced: 2025-03-05T07:25:22.380Z (over 1 year ago)
- Topics: tensorflow, tensorflow-examples, tensorflow-js, tensorflow-models, tensorflow-tutorials, tensorflow2, tensorflowjs
- Language: Jupyter Notebook
- Homepage:
- Size: 47.9 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python_to_web
[](https://colab.research.google.com/github/MendezJesus/python_to_web/blob/main/python_to_web.ipynb)
---
This notebook contains an example of training a neural network using TensorFlow and Python, then running it in the browser using TensorFlow.js.
This notebook provides example code to do the following:
1. Train a neural network using Python to classify flowers
1. Save the model to disk
1. Convert the model to TensorFlow.js format
1. Create a webpage using a minimum amount of HTML and JavaScript to run the model
1. Serve the webpage from this notebook (instructions are also provided to serve the page locally)
1. Upload images through the UI and classify them with the model