Using an AscendCL Sample Project
MindStudio IDE provides sample projects developed based on AscendCL. You can create one as follows:
Figure 1 Process of creating an AscendCL sample project


The description of each step is as follows:
- Environment setup: Refer to Before You Start to configure environment variables.
- Data preparation: Prepare the dataset required by your model, for example, images required by an image detection model.
- Sample project code obtaining and importing: Obtain the required AscendCL sample project, and import it to MindStudio IDE by referring to importing an Application Project.
- Model obtaining: Obtain the required model by referring to the readme file of the sample project on Gitee and upload it to the environment. For more models, visit the ModelZoo.
- Model conversion: Refer to Model Conversion and Tuning to convert the model to an .om file.
- Application build and running: Refer to Building and Running an Application Project to build and run the application.
Parent topic: Developing an Application Based on AscendCL