Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
3 months ago | |
|---|---|---|
| gcu_mnist_example | 1 year ago | |
| gpgpu_mnist_example | 1 year ago | |
| gpu_mnist_example | 3 months ago | |
| npu_mnist_example | 1 year ago | |
| .openi-aitemplate | 3 months ago | |
| README.md | 1 year ago | |
使用c2net的SDK方式
#导入包
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
output_path = c2net_context.output_path
#必须将输出结果保存到c2net_context.output_path,才能回传结果到openi,并且训练任务才能回传,调试任务回传后暂时不支持下载
upload_output()