t3qai client module
Reason this release was yanked:
기존버전 플랫폼 기능 지원 안함
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
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
t3qai_client-1.1.7.tar.gz
(10.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file t3qai_client-1.1.7.tar.gz.
File metadata
- Download URL: t3qai_client-1.1.7.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68abed108b240c8eea49ce5baa25e05d8515b27a0de1f6ebbde3ac9cf942f7cc
|
|
| MD5 |
dfa7ef9e27f48fa728a0b4ab95428097
|
|
| BLAKE2b-256 |
9dd998b8d6aba0f75cada0d4a23e81d1ecb71e37219c0b5b7e424e81dc33236a
|
File details
Details for the file t3qai_client-1.1.7-py3-none-any.whl.
File metadata
- Download URL: t3qai_client-1.1.7-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06b6f6c407d755c359e4b18ef7ca0c42e812b7280a5fda315118176fefe31dec
|
|
| MD5 |
53eb79957155b7805612ea864eb5844a
|
|
| BLAKE2b-256 |
9ed14157bece83b767ff72321dcfe98e7b66643d2006f728d4119a2b3ab38c1f
|