aws / amazon-sagemaker-examples

Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠 Amazon SageMaker.
https://sagemaker-examples.readthedocs.io
Apache License 2.0
9.8k stars 6.67k forks source link

Preprocessing script logs sagemaker model monitoring. #1134

Open Ashwin-Chhetri opened 4 years ago

Ashwin-Chhetri commented 4 years ago

While creating a monitoring job for an endpoint I attached a preprocessing script to flatten the captured data but my script fails with an invocation error. Furthermore, I am unable to see any logs from the preprocessing script in the cloud watch just an innovation error in monitoring job logs. Tried writing into the '/opt/ml/output/message' file after encoding the logs in UTF-8 but could not see any logs from the script in monitoring job logs.

lsabreu96 commented 3 years ago

Hi, @Ashwin-Chhetri , any updates on this ?

I ran into the exact same error and couldn't solve as well, even thought I copied-paste the example from the docs