A test package for c2net pypi
Project description
OpenI
PYPI package for 启智AI协作平台。
使用说明安装
- 启智平台提供的Python工具包,使用户能在本地上传数据集。
安装
适配python3.6及以上版本
PYPI package for 启智 AI 协作平台。
安装
适配 python3.6 及以上版本
pip3 install -U c2net-beta
pip install c2net-beta==0.0.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
云脑资源初始化与上传,获取路径示例:
#导入包
from c2net.context import prepare, upload_output
#初始化导入数据集和预训练模型到容器内
openi_context = prepare()
#获取数据集路径,预训练模型路径,输出路径
dataset_path = openi_context.dataset_path
pretrain_model_path = openi_context.pretrain_model_path
you_must_save_here = openi_context.output_path
#回传结果到c2net
upload_output()
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
c2net-beta-0.1.1.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for c2net_beta-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c7fd1d1d3894223897a3e416e836ad6b6913801d43ecefb3e43d30ce97cfe98 |
|
MD5 | be4f03252f70d2d8e39abf29783fccc7 |
|
BLAKE2b-256 | 10897ce7075e1b9b05dacd50b7c2af3b54fa74f310e825df1b4097c063e4cc59 |