awslabs / sagemaker-debugger

Amazon SageMaker Debugger provides functionality to save tensors during training of machine learning jobs and analyze those tensors
Apache License 2.0
161 stars 83 forks source link

Sagemaker debugger hooks for keras unet #413

Open shubham-scisar opened 3 years ago

shubham-scisar commented 3 years ago

I am utilising debugger hooks for custom model utilising keras-unet library. This library is built over tensorflow and keras.I am trying to include a debugger hook for that and I have utilised hooks as per the linkhttps://docs.aws.amazon.com/sagemaker/latest/dg/debugger-bring-your-own-container.html. I am using Tensorflow 1.15.2 inbuilt container to train my model ,while calling estimator.fit, I am getting the following error :

with open(path) as json_config_file:
 FileNotFoundError: [Errno 2] No such file or directory: '/opt/ml/input/config/debughookconfig.json'

I have already included the hook in the callbacks in the training script. Kindly guide.