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 年前檢視次數 1551 次
2 個答案
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 pictureAWS
punya
已回答 2 年前
  • 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!

AWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南