A test packages for openi pypi
Project description
This is a test package for OpenI PyPi
test package for OpenI 启智AI协作平台.
使用说明安装
pip install openi-test
openi.dataset.upload_file()
上传数据集函数
安装完成可仿照下列示,运行即可上传数据集
from openi.dataset import upload_file
upload_file(
file = "", # 必填,文件路径(包含文件名)
username = "", # 必填,数据集所属项目用户名
repository = "", # 必填,数据集所属项目名
token = "", #必填,用户启智上获取的令牌token,并对该项目数据集有权限
cluster = "", # 选填,可填入GPU或NPU,不填写后台默认为NPU
app_url = "" #选填, 默认为平台地址,用户不用填写,开发测试用
)
from openi.utils import (
get_code_path,
get_data_path,
get_pretrain_model_path,
get_output_path,
push_output_to_openi,
obs_copy_folder
)
code_path = get_code_path()
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
openi-test-0.0.1.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for openi_test-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc81f22fff9eb00e0c71ff7b1ef29da9a18e6f3874cbab4dd69258d23d9be594 |
|
MD5 | c316df37d4f1ace39f45b90be355e380 |
|
BLAKE2b-256 | 0f788e17ddecec6b5b854f5324077bc3acb322915a39c1937ca1dc9e1ee06e8a |