You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- #导入包
- import os
- from c2net.context import prepare, upload_output
-
- #初始化导入数据集和预训练模型到容器内
- c2net_context = prepare()
-
- #获取数据集路径,预训练模型路径,输出路径
- dataset_path = c2net_context.dataset_path
- pretrain_model_path = c2net_context.pretrain_model_path
- output_path = c2net_context.output_path
-
- #回传结果到openi
- upload_output()
|