Skip to main content

A package for c2net pypi

Project description

C2NET-BETA

PYPI package for c2net-beta

使用说明安装

  • 虎鲸平台提供使用代码,数据集,模型示例

安装

适配python3.6及以上版本

PYPI package for C2NET-BETA。

pip3 install -U c2net
或
pip3 install c2net==版本号 -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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

c2net-0.2.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

c2net-0.2.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file c2net-0.2.0.tar.gz.

File metadata

  • Download URL: c2net-0.2.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for c2net-0.2.0.tar.gz
Algorithm Hash digest
SHA256 658569938fa60a9795fe40001032ca9613410fa38cb03b695d610fe3253a3a80
MD5 ecfe6ecd7b8f7767d320f10b34d8a642
BLAKE2b-256 1f68c6a3cd08e0b29da94acd3ee48c6ce972ea08ade007985ddea6146f570e52

See more details on using hashes here.

File details

Details for the file c2net-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: c2net-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for c2net-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2fbdc39119d600c1dcfef9445b83fdb0e0bbaa29619a70f72bc4111992b4eb0
MD5 046f0b3316f7c66c4a9d04cff55207ba
BLAKE2b-256 2d50738368184cd06d3c54ee49a101923d88e889dcde94fa34decfd8fd27c1e6

See more details on using hashes here.

Supported by

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