Skip to main content

t3qai client module

Project description

t3qai_client Description

a library for t3qai platform client.

The client module provides properties/functions that links platform and client's learning/Inference algorithm.

  • Provide platform path properties
  • Provides functions to link learning state, set log, call learning parameter elements, load data, save learning results, and download inference results

To install with pip

pip install t3qai_client

How to Use (Example)

properties

## train
from t3qai_client import T3QAI_TRAIN_OUTPUT_PATH, T3QAI_TRAIN_MODEL_PATH, T3QAI_TRAIN_DATA_PATH, T3QAI_MODULE_PATH

## inference
from t3qai_client import T3QAI_INIT_MODEL_PATH, T3QAI_MODULE_PATH

functions

import t3qai_client as tc

## link learning state
tc.train_start()
tc.train_finish(result, result_msg)

## set log
# train
tc.train_set_logger()
# inference
tc.inference_set_logger()

## call learning parameter elements
# train
params = tc.train_load_param()
batch_size= int(params['batch_size'])
# inference
params = tc.inference_load_param()
batch_size= int(params['batch_size'])

## save learning results
# save the learning results inside the platform.
eval_results={}
eval_results['accuracy']=  0.93
eval_results['loss']=  0.003
tc.train_save_result_metrics(eval_results)

## To download inference results at platform (2 options -> file_obj or file_path)
from t3qai_client import DownloadFile
result = DownloadFile(file_obj=resultobj, file_name=filename)
result = DownloadFile(file_path=save_path, file_name=filename)

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

t3qai_client-0.0.0.4.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

t3qai_client-0.0.0.4-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file t3qai_client-0.0.0.4.tar.gz.

File metadata

  • Download URL: t3qai_client-0.0.0.4.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.6

File hashes

Hashes for t3qai_client-0.0.0.4.tar.gz
Algorithm Hash digest
SHA256 4a4fed5f76cb0e7aad83352f87ece1f56a9ee4a580b07270af9c91f6912508a8
MD5 a23ca4cf5fa15637b2f7bcb754ef3637
BLAKE2b-256 e9fb7f07c723f7f963000fe01e3ce049b82506376114fa96ac30bb86ccf92071

See more details on using hashes here.

File details

Details for the file t3qai_client-0.0.0.4-py3-none-any.whl.

File metadata

  • Download URL: t3qai_client-0.0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.6

File hashes

Hashes for t3qai_client-0.0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 63d57e2487c89ec64cf1f95181aafa01dc6b2170146ae2af338e5322c81efeab
MD5 f2b589b35ed5d85c8947a83e51fa1db1
BLAKE2b-256 3460286ae23a800e29aab8e48ab0129083eed2182568fa508154934238cd02b4

See more details on using hashes here.

Supported by

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