Closed dz902 closed 4 years ago
The error happens on this line:
I think the a default boto client was not created as documented. It seems that the following line wasn't working.
Not sure why.
Looks like you have an older version, need to upgrade to get https://github.com/aws/sagemaker-experiments/commit/ef2af4009c3a5c6a63db5cec6b9de6c614dfdd66 .
pip install sagemaker-experiments --upgrade
Describe the bug Iterating through TrialComponent.list() gives:
AttributeError: 'NoneType' object has no attribute 'list_trial_components'
There are trial components, just not associated with any trial.
To Reproduce
Expected behavior Shows a list of trial components whether they are associated with trials or not, as I would expect it to be a wrapper of the "ListTrialComponents" API call.
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.