Cette page n'est pas encore disponible dans votre langue. Nous nous efforçons d'ajouter d'autres langues. Nous vous remercions de votre compréhension.

On this page
Help Center/ ModelArts/ Troubleshooting/ Inference Deployment/ AI Application Management/ Obtaining the Directory Structure in the Target Image When Importing an AI Application Through OBS

Obtaining the Directory Structure in the Target Image When Importing an AI Application Through OBS

Updated on 2024-06-11 GMT+08:00

Symptom

When I create an AI application, customized files and folders are stored in the OBS directory specified by a meta model source, and these files and folders will be copied to the target image. What is the path to the copied files and folders?

Possible Causes

When an AI application is imported through OBS, ModelArts copies all files and folders in the specified OBS directory to a path specified in the image. You can obtain the path in the image by using self.model_path.

Solution

For details about how to obtain the path in an image, see Specifications for Model Inference Coding.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback