You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trial Component: Failed to retrieve model package details. #170
Describe the bug
After a model is trained and registered, I navigate to the model registry and select the model group name -> model version -> settings. At "Trial Component" row is shows "Failed to retrieve model package details" This issue is appearing just for the approved model versions To Reproduce
Steps to reproduce the behavior:
trained and registered a model then approve the model
Expected behavior
A link to the corresponding "Trail component" should be shown
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Framework (e.g. TensorFlow) / Algorithm (e.g. KMeans):
Framework Version:
Python Version:
CPU or GPU:
Python SDK Version:
Are you using a custom image:
Additional context
Add any other context about the problem here.
Environment: SageMaker Studio
Framework: SageMaker LinearLearner
Framework Version: latest as of 2/22/2023
Python Version: 3.7.10
CPU or GPU: CPU
Python SDK Version: 2.131.0
Are you using a custom image: No
I'm seeing the same thing. To create the model I'm using some generic code
After playing around quite a bit I found that registering the model through boto3 like I did in my comment above did not automatically link the TrialComponent, but when using the SageMaker SDK way of registering a model I was able to see the TrialComponent link
Activity
helinmik commentedon Nov 3, 2022
I have the same issue when registering the model using Sagemaker Pipeline
mouhannadali commentedon Dec 5, 2022
any update here?
tmbluth commentedon Feb 22, 2023
Environment: SageMaker Studio
Framework: SageMaker LinearLearner
Framework Version: latest as of 2/22/2023
Python Version: 3.7.10
CPU or GPU: CPU
Python SDK Version: 2.131.0
Are you using a custom image: No
I'm seeing the same thing. To create the model I'm using some generic code
Then the path to the model is saved:
model_uri = f'{output_path}/{estimator.latest_training_job.job_name}/output/model.tar.gz'Then to register this model I run this code:
The model successfully uploads to the registry, increments its version, but I get the same error as others.
Is this a bug or are we misusing the Model Registry?
tmbluth commentedon Feb 24, 2023
After playing around quite a bit I found that registering the model through boto3 like I did in my comment above did not automatically link the TrialComponent, but when using the SageMaker SDK way of registering a model I was able to see the TrialComponent link