Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.72 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.72 KB

Python Real Estate

This project shows how to create a model for predicting house prices and exporting some data for later use inside a Tensorflow.js application

You can read/see more about this in:

Important files to run

  • predict.py
  • train_model.py
  • share_preprocessing_tfjs.py

Tensorflowjs Converter

Building the image using docker

    docker build -t tf-converter .

Running the converter using docker

    docker run -it --rm --name tf-converter -v "$(pwd)":/workdir tf-converter --input_format keras ./model/-inputsscaled-outputsscaled-categorical/model.h5 ./shared/model

Install the converter and run it without docker

    pip install tensorflowjs

    tensorflowjs_converter --input_format keras \
                        ./model/-inputsscaled-outputsscaled-categorical/model.h5 \
                        ./shared/model

More resources