By using AWS re:Post, you agree to the Terms of Use

AWS SageMaker Notebook Instance is not continuing running the cell when I leave my Laptop to execute the cells over a period of time. Can you tell me how can I solve this?

0

Hello, When I leave the SageMaker Jupyter notebook to execute the cells for a long period of time, after about 8 hours, it is signing me out of the console and when I log back in, it is not running/continuing its execution of the cells. There was No error message displayed when this happened. When I left the notebook running, the laptop was ON and the screen was active. Could you tell me how can I leave the notebook to run for a long period of time without worrying about being active on the laptop all the time? Thank you.

2 Answers
0

You may review this blog https://aws.amazon.com/blogs/machine-learning/build-a-custom-entity-recognizer-for-pdf-documents-using-amazon-comprehend/ . It has a detailed example now how to build customer recognizer for PDF documents on Amazon Comprehend.

To create the annotation for the PDF documents, it does it Amazon Ground Truth.

Hope this helps!

profile picture
answered a month ago
  • The Issue that I am facing is that when I run my own custom Machine Learning code on the Sagemaker Jupyter Notebook and leave the system ON when running the notebook, I am getting signed out of my console and the code cell execution is being stopped after running for about 8 hours. Could you tell me how can I leave the notebook to run for a long period of time without worrying about being active on the laptop all the time? Thank you.

0

Hello - if you are being signed out of the AWS console, you may need to set a longer IAM session duration, e.g. to 12 hours.

If you are not being logged out of AWS console and your SageMaker notebook is still timing out, you may need to run your scripts using nohup command or use SageMaker training so training will continue even if you get disconnected from your Sagemaker notebook.

Hope this helps. Thank you!

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions