tfjs-to-tf
A TensorFlow.js Graph Model Converter
File Explorer
Download Latest Version (.zip)- Dockerfile
- README.md
- api.rst
- converter.rst
- graph_rewrite_util.rst
- logo.png
- models.rst
- modules.rst
- optimization.rst
- util.rst
- horse.jpg
- horse1.jpg
- horses-and-humans.zip
- human.jpg
- human1.jpg
- README.md
- readme.txt
- api_test.py
- check_image.py
- generate_test_models.py
- graph_rewrite_util_test.py
- issue-36.py
- optimization_test.py
- quirks_test.py
- testutils.py
- util_test.py
- __init__.py
- api.py
- common.py
- compat.py
- convert_fused_depthwise.py
- convert_prelu.py
- converter.py
- graph_rewrite_util.py
- optimization.py
- quirks.py
- util.py
- version.py
- .gitignore
- .markdownlint.json
- LICENSE
- pyproject.toml
- README.md
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/patlevin/tfjs-to-tf
Downloads the entire project code from GitHub to your computer.
cd tfjs-to-tf
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f docker/Dockerfile -t tfjs-to-tf .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 tfjs-to-tf
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Python
EasyPrerequisites
pip install .
Installs the package published on PyPI directly โ no need to clone the source.
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
