c2net-beta


Namec2net-beta JSON
Version 0.2.4 PyPI version JSON
download
home_pagehttps://openi.pcl.ac.cn/liuzx/c2net-pypi
SummaryA test package for c2net pypi
upload_time2024-01-15 06:52:30
maintainer
docs_urlNone
authorliuzx
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # C2NET-BETA

> PYPI package for c2net-beta

# 使用说明安装

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

## 安装

*适配python3.6及以上版本*

> PYPI package for C2NET-BETA。

## 安装

_适配 python3.6 及以上版本_

```bash
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

#初始化导入数据集和预训练模型到容器内
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()
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://openi.pcl.ac.cn/liuzx/c2net-pypi",
    "name": "c2net-beta",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "liuzx",
    "author_email": "gsunfeng@163.com",
    "download_url": "https://files.pythonhosted.org/packages/f0/12/10a123d6937753d5e3122a339553eb2553ff9a85646d8501c53679585e29/c2net-beta-0.2.4.tar.gz",
    "platform": null,
    "description": "# C2NET-BETA\n\n> PYPI package for c2net-beta\n\n# \u4f7f\u7528\u8bf4\u660e\u5b89\u88c5\n\n- \u864e\u9cb8\u5e73\u53f0\u63d0\u4f9b\u4f7f\u7528\u4ee3\u7801\uff0c\u6570\u636e\u96c6\uff0c\u6a21\u578b\u793a\u4f8b\n\n## \u5b89\u88c5\n\n*\u9002\u914dpython3.6\u53ca\u4ee5\u4e0a\u7248\u672c*\n\n> PYPI package for C2NET-BETA\u3002\n\n## \u5b89\u88c5\n\n_\u9002\u914d python3.6 \u53ca\u4ee5\u4e0a\u7248\u672c_\n\n```bash\npip3 install -U c2net-beta\npip install c2net-beta==0.0.1 -i https://pypi.tuna.tsinghua.edu.cn/simple\n```\n\n## \u4e91\u8111\u8d44\u6e90\u521d\u59cb\u5316\u4e0e\u4e0a\u4f20\uff0c\u83b7\u53d6\u8def\u5f84\u793a\u4f8b\uff1a\n\n```\n#\u5bfc\u5165\u5305\nfrom c2net.context import prepare, upload_output\n\n#\u521d\u59cb\u5316\u5bfc\u5165\u6570\u636e\u96c6\u548c\u9884\u8bad\u7ec3\u6a21\u578b\u5230\u5bb9\u5668\u5185\nc2net_context = prepare()\n\n#\u83b7\u53d6\u4ee3\u7801\u8def\u5f84, \u6570\u636e\u96c6\u8def\u5f84\uff0c\u9884\u8bad\u7ec3\u6a21\u578b\u8def\u5f84\uff0c\u8f93\u51fa\u8def\u5f84\ncode_path = c2net_context.code_path\ndataset_path = c2net_context.dataset_path\npretrain_model_path = c2net_context.pretrain_model_path\nyou_must_save_here = c2net_context.output_path\n\n#\u56de\u4f20\u7ed3\u679c\u5230c2net\nupload_output()\n```\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A test package for c2net pypi",
    "version": "0.2.4",
    "project_urls": {
        "Homepage": "https://openi.pcl.ac.cn/liuzx/c2net-pypi"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ea3896505750e7f7c88d654204801b84bf9cd80f03a18be8833423bffa79220",
                "md5": "4fa0c78037610b6a7863397f60b9f555",
                "sha256": "925a1c7d34f9a7dd58d5bbe4206d30a4b360d103edaef33b22a6ad646e0756f8"
            },
            "downloads": -1,
            "filename": "c2net_beta-0.2.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4fa0c78037610b6a7863397f60b9f555",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 10944,
            "upload_time": "2024-01-15T06:52:28",
            "upload_time_iso_8601": "2024-01-15T06:52:28.842002Z",
            "url": "https://files.pythonhosted.org/packages/6e/a3/896505750e7f7c88d654204801b84bf9cd80f03a18be8833423bffa79220/c2net_beta-0.2.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f01210a123d6937753d5e3122a339553eb2553ff9a85646d8501c53679585e29",
                "md5": "3b45b35fdad6d9941fab5148a1aebe60",
                "sha256": "0a4de79cb9e5f8b3d36f9c05ebad32ddbd6727eb933dde9ad534c274fae384bf"
            },
            "downloads": -1,
            "filename": "c2net-beta-0.2.4.tar.gz",
            "has_sig": false,
            "md5_digest": "3b45b35fdad6d9941fab5148a1aebe60",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6800,
            "upload_time": "2024-01-15T06:52:30",
            "upload_time_iso_8601": "2024-01-15T06:52:30.565274Z",
            "url": "https://files.pythonhosted.org/packages/f0/12/10a123d6937753d5e3122a339553eb2553ff9a85646d8501c53679585e29/c2net-beta-0.2.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-15 06:52:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "c2net-beta"
}
        
Elapsed time: 0.31810s