Help Center/ ModelArts/ Troubleshooting/ Inference Deployment/ Model Management/ Failed to Use a Custom Image to Create a Model
Updated on 2025-06-06 GMT+08:00

Failed to Use a Custom Image to Create a Model

Symptom

When I used a custom image to create a model, the creation failed.

Possible Causes

Possible causes are as follows:

  • The URL of the image used for importing the model is invalid or the image is unavailable.
  • SWR operation permissions are not included in the agency authorization configured on ModelArts.
  • The IAM user does not obtain SWR operation permissions from the tenant.
  • The image used is from another account.
  • The image used is a public image.

Solution

  1. Go to the SWR console and check whether the target image is available and whether the URL of the image is the same as the actual one, including the spelling and letter cases in the URL.
  2. Check whether SWR operation permissions are included in the agency authorization configured on ModelArts. To do so, go to the Permission Management page on ModelArts and view the authorization details. If no SWR operation permissions are configured, go to the IAM console and grant the permissions to the target agency.
    Figure 1 Permission Management
    Figure 2 Entrance to permissions modification in IAM
    Figure 3 Authorizing an agency
  3. Set a private image

    Log in to SWR, choose My Images in the navigation pane on the left to view image details. Click Edit in the upper right corner and set Type to Private.

    Figure 4 Changing the image type to private