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.

README.md 1.0 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1234567891011121314151617181920212223242526272829
  1. # 如何在启智平台上进行模型调试和训练
  2. ## 1. sdk使用方法
  3. 使用c2net的SDK方式
  4. ```
  5. #导入包
  6. from c2net.context import prepare, upload_output
  7. #初始化导入数据集和预训练模型到容器内
  8. c2net_context = prepare()
  9. #获取代码路径,数据集路径,预训练模型路径,输出路径
  10. code_path = c2net_context.code_path
  11. dataset_path = c2net_context.dataset_path
  12. pretrain_model_path = c2net_context.pretrain_model_path
  13. output_path = c2net_context.output_path
  14. #必须将输出结果保存到c2net_context.output_path,才能回传结果到openi,并且训练任务才能回传,调试任务回传后暂时不支持下载
  15. upload_output()
  16. ```
  17. ## 2. 手写数字识别示例
  18. * GPU示例请参考[gpu_mnist_example](./gpu_mnist_example/README.md)
  19. * GPGPU示例请参考[gpgpu_mnist_example](./gpgpu_mnist_example/README.md)
  20. * NPU示例请参考[npu_mnist_example](./npu_mnist_example/README.md)
  21. * GCU示例请参考[gcu_mnist_example](./gcu_mnist_example/README.md)

No Description