Interact with ML models in the browser so that we can better understand their strengths and weaknesses on real world data
Project description
tensorboardY
The goal of this library is to accelerate ML research by making it as easy as possible to demo ML algorithms in the browser. The easier it is to interact with ML models, the faster we can determine their current limitations.
This library seeks to automate the creation of cool ML demo websites like
Install
pip install tensorboardY
Examples
python examples/simple_example.py
import tensorboardY as ty
import matplotlib.pyplot as plt
def forward(x, title):
plt.imshow(x)
plt.title(title)
return plt.gcf()
inputs = [ty.Image(var='x', exs=['imgs/curve.jpg']),
ty.Text(var='title', exs=["EXAMPLE"])]
ty.show(forward, inputs)
python examples/full_example.py
import tensorboardY as ty
import os
def forward(z):
return z
inputs = [ty.Widget("z", name="Choose your input",
camera=True,
image_upload=True,
image_list=['imgs/curve.jpg'], image_names=['Curve example'],
text_input=True,
text_list=['This is an example text!'], text_names=['Random'],
option_list=["This is an example option!"], option_names=['Resnet50'],
boolean=True,
slider=(5, 20, 0.5), slider_default=10.3)]
ty.show(forward, inputs)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tensorboardY-0.1.7.tar.gz
(46.8 kB
view details)
Built Distribution
File details
Details for the file tensorboardY-0.1.7.tar.gz
.
File metadata
- Download URL: tensorboardY-0.1.7.tar.gz
- Upload date:
- Size: 46.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.15.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c1dd9d4cd46351008f8d95744f9ab388b01a6744653f420b657d849dae81db |
|
MD5 | b083ea5c68bf3a6559dcefb560eab5f1 |
|
BLAKE2b-256 | debdcd1f6336c2769bffaee607efd432ebdcb3ea18d8a0b1e737c44d6b628763 |
Provenance
File details
Details for the file tensorboardY-0.1.7-py2.py3-none-any.whl
.
File metadata
- Download URL: tensorboardY-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 46.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.15.0 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6716bfe9bc7776c7e51300a699ffc4aacbb167c30a8a250d930480684b2cfb6d |
|
MD5 | 56c1b7d9b29810f240e376210eeafb7a |
|
BLAKE2b-256 | 30e556f164b6c7fb80ab56bc1fd879ca0974eb0ab664d0dfbe0cf65c34983c82 |