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
- os.system('pip install -U openi')
- #导入包
- from openi.context import prepare, upload_openi
-
- #初始化导入数据集和预训练模型到容器内
- openi_context = prepare()
-
- #获取数据集路径,预训练模型路径,输出路径
- dataset_path = openi_context.dataset_path
- pretrain_model_path = openi_context.pretrain_model_path
- output_path = openi_context.output_path
-
- #回传结果到openi
- upload_openi()
|