---
title: 运行样例
description: "1. 在jupyter lab可视化界面左侧样例目录中双击“03-resnet”。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/qs/qs_0022.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/qs/qs_0022.html
indexId: 7089947ee4bb6a65eb23497a30bbd83581288cdc59e39ab83cd1565bc240f94461
---
# 运行样例

#### 运行图片分类样例

1. 在jupyter lab可视化界面左侧样例目录中双击“03-resnet”。
2. 双击打开“main.ipynb”脚本，进入样例运行页面。
3. 单击按钮运行样例，界面提示重启jupyter lab内核，单击“Restart”。
  jupyter lab运行样例错误请参见jupyter lab运行样例后，再次运行样例失败(https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Appendices/faq/faq_0024.html)解决。 推理样例运行缓慢或跑不起来请参见jupyter notebook推理样例运行缓慢或跑不起来(https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Appendices/faq/faq_0033.html)解决。 运行样例时需手动矫正时间，可参见手动矫正时间(https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Appendices/faq/faq_0045.html)。

  图1 样例运行页面 图2 重启jupyter lab内核

  在界面代码区域将下拉条（如下图红框所示）拖到底部，等待约5到10秒直到模型推理完成，查看推理结果，如图3所示。 图3 推理结果
