Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
liuzx 800d51187a | 3 months ago | |
---|---|---|
media | 11 months ago | |
src/c2net | 3 months ago | |
.gitignore | 11 months ago | |
LISCENCE | 11 months ago | |
README.md | 10 months ago | |
example.py | 10 months ago | |
setup.py | 3 months ago |
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()
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》