The service call throws throttling exception while calling the experiment.delete_all() in autoPilot. Add a sleep time to prevent the TCDisassociate throttling.
/opt/conda/lib/python3.7/site-packages/botocore/client.py in _api_call(self, *args, **kwargs)
315 # The "self" in this scope is referring to the BaseClient.
--> 316 return self._make_api_call(operation_name, kwargs)
317
ClientError: An error occurred (ThrottlingException) when calling the DisassociateTrialComponent operation (reached max retries: 4): Rate exceeded
The above exception was the direct cause of the following exception:
Exception Traceback (most recent call last)
in
----> 1 my_experiment.delete_all(action="--force")
/opt/conda/lib/python3.7/site-packages/smexperiments/experiment.py in delete_all(self, action)
248 while True:
249 if delete_count == 3:
--> 250 raise Exception("Fail to delete, please try again.") from last_exception
251 try:
252 for trial_summary in self.list_trials():
Exception: Fail to delete, please try again._
The service call throws throttling exception while calling the experiment.delete_all() in autoPilot. Add a sleep time to prevent the TCDisassociate throttling.
How to create experiment auto-pilot: https://aws.amazon.com/getting-started/hands-on/create-machine-learning-model-automatically-sagemaker-autopilot/