Skip to main content

Package for Smoketrees model zoo

Reason this release was yanked:

bugs

Project description

PyPI version

Forest Utils package for SmokeTrees model-zoo

This package will be useful for carrying out all the utilities of the model-zoo.`

Features

  • Pull down HDF5 (.h5) models from the model-zoo and load with keras
  • Pull down the spacy model from the model-zoo

Steps to install the package

    pip install forest_utils

Steps to install the package from source code

  • Clone the repo by the following command
        git clone https://github.com/smoke-trees/forest-utils.git
    
  • Change the directory to the package
        cd forest-utils
    
  • Execute the following command
        pip install -e .
    

Example Usage

    from forest_utils import export_keras

    export_url = '<url where model is hosted>'
    model = export_keras.ModelFromH5(export_url)

View the model configuration using the following command

    print(model.summary())

Use the model object and perform the further actions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forest-utils-0.0.7.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

forest_utils-0.0.7-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page