SDK for DetaMetrics TensorBoard alternative.
Project description
DetaMetricsSDK
A Python SDK for interacting with my TensorBoard alternative that runs on Deta Space.
Installation
pip install detametrics
Usage
TensorFlow Callback
Requires Tensorflow to be installed.
from detametrics.tf import DetaMetricsTFCallback
# use in your keras model
model = ...
model.fit(
..., # other params here
callbacks=[DetaMetricsTFCallback("MY_URL_ID")]
)
Base API
Get your URL id from the UI on the Deta Space app.
from detametrics import DetaMetrics
metrics = DetaMetrics("MY_URL_ID") # get it from the Deta Space App UI
metrics.clear() # WARNING: clears all past metrics
metrics.set("GraphName", "LineName", 0.1)
metrics.set("GraphName", "LineName", 123.45)
metrics.set("GraphName", "LineName", 78.9)
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
DetaMetrics-0.0.5.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for DetaMetrics-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9fae7ee32ae8d2a37f37acf0a8cabd78fc59aa7020ac17936072fa304db775e |
|
MD5 | f2390a33304dd9672f376c3d58fc4187 |
|
BLAKE2b-256 | f46b0bc5d7521b1c21779699992d7a000266c4c36d1e9725f96f9aa8f7cb4a5d |