Script Adaptation

This section uses an inference image in the Ascend image repository as an example. The image contains an inference sample script. In actual inference scenarios, prepare an inference script as required. Before pulling an image, ensure that the network proxy of the current environment has been configured so that the environment can access the Ascend image repository.

Obtaining a Sample Script from Ascend Image Repository

  1. Ensure that the server can access the Internet and access the image repository.
  2. In the navigation pane on the left, choose Inference Image and then mindie to obtain the inference sample script.

    If you do not have the download permission, apply for the permission as prompted. After your application is approved by the administrator, you can download the image.