A test package for c2net pypi
Project description
C2NET-BETA
PYPI package for c2net-beta
使用说明安装
- 虎鲸平台提供使用代码,数据集,模型示例
安装
适配python3.6及以上版本
PYPI package for C2NET-BETA。
安装
适配 python3.6 及以上版本
pip3 install -U c2net
pip install c2net==0.0.3 -i https://pypi.tuna.tsinghua.edu.cn/simple
云脑资源初始化与上传,获取路径示例:
#导入包
from c2net.context import prepare, upload_output
#初始化导入数据集和预训练模型到容器内
c2net_context = prepare()
#获取代码路径, 数据集路径,预训练模型路径,输出路径
code_path = c2net_context.code_path
dataset_path = c2net_context.dataset_path
pretrain_model_path = c2net_context.pretrain_model_path
you_must_save_here = c2net_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.2.5.tar.gz
(6.9 kB
view details)
Built Distribution
File details
Details for the file c2net-beta-0.2.5.tar.gz
.
File metadata
- Download URL: c2net-beta-0.2.5.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35605c3e17fddce6408de1e5686cf7501605c1bff44359ec31978ef72f63d817 |
|
MD5 | 86eb89e3cefa2401a12d1b7d78861f1a |
|
BLAKE2b-256 | b6da62bf9fe2c0e36ff098c0b589b5c673f8b7c6dab8a9e9c02f2b18856cb2f3 |
File details
Details for the file c2net_beta-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: c2net_beta-0.2.5-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83962379bbea1af86db4af801567540ba88bf7c573cbe1b174f01194e6039035 |
|
MD5 | 848a0e36fd639392c60f49b8c9124866 |
|
BLAKE2b-256 | 38b813c4281c5ab317ab679c953e472b3499442c825f0cd3868d696140fb7ffc |