Questions tagged [amazon-sagemaker-studio]
106 questions
0
votes
0 answers
Error running Lifecycle Configuration for SageMaker Studio Notebook
I am trying to create a Lifecycle Configuration for Studio notebooks with the below code for restarting the server.
#!/bin/bash
set -eux
nohup supervisorctl -c /etc/supervisor/conf.d/supervisord.conf restart jupyterlabserver
I get an error saying…

Meghana S
- 75
- 6
0
votes
0 answers
SageMaker studio: how to reference a specific model in the registry when running a batch transform job in another notebook
I want to run a simple batch transform job. I have no end-point so can't use that method.
If it was run in the same notebook in which the model was created, the code would be as follows:
transformer = xgb_model.transformer(
instance_count=1,
…

YoungboyVBA
- 39
- 5
0
votes
0 answers
The undo button in SageMaker Studio clears cell's output
I run a cell in SageMaker Studio:
And then I click ⌘Z to undo, but the cell's output gets deleted:
In the Edit menu there are 2 types of undos:
Undo ⌘Z
Undo Cell Operation Z
The first option (Undo) deletes the output as well (like the shortcut…

Alaa M.
- 4,961
- 10
- 54
- 95
0
votes
1 answer
Sagemaker Xgboost Inference(Batch Transform) with Parquet file failing
I have built a xgboost Regression Model and registered it in model registry in Sagemaker.
This model is built on using Sagemkaer container and input datasets in parquet file.
But when I execute the inference job, it fails.
Error message is :…

user3858193
- 1,320
- 5
- 18
- 50
0
votes
0 answers
AWS Sagemaker Transformer cross account output
I am trying to output the batch transformer output to another account s3 bucket(batch_output_path is the destination path) however the KMS encryption key is picked from the source account instead of using the default encryption key which is already…

Mark Andrew
- 9
- 3
0
votes
0 answers
Sagemaker Notebook instance very slow with tweepy api
I collect tweets from file has more than 700,000 ids for tweets by using tweepy . Locally I have I7 processor and 16 GB ram and I make for loop on these ides to get the full text , geo , coordinates and place attributes.
And by using tqdm library…
0
votes
0 answers
Unable to publish Rshiny application using Rstudio connect
From AWS sagemaker Rstudio, I am trying to publish a simple shiny web application using Rstudio connect. 'rsonnect' package installed on rstudio IDE is '0.8.29'. Added the rstudio connect certificate and able to login to rstudio connect server via…

Villa
- 126
- 2
- 9
0
votes
1 answer
how to create a model package in sagemaker pipeline?
based on the documentation here , https://github.com/aws/sagemaker-python-sdk/blob/master/doc/amazon_sagemaker_model_building_pipeline.rst#model-step, I can chain sagemaker pipeline step (sample code below) . i want to know , if needed, is it…

haju
- 95
- 6
0
votes
1 answer
How to connect to a Sagemaker Jupyter notebook in PyCharm?
PyCharm has launched a new 2023 version with a new feature to remotely connect to a Jupyter notebook. The instructions in the tutorial say to type a server URL and a token:
My question is how do I get the relevant details (server URL and token) for…

Alaa M.
- 4,961
- 10
- 54
- 95
0
votes
0 answers
AWS SageMaker Processing Job throwing error - how to trouble shoot?
I've just spent the whole day trying to go through the documentation example for AWS SageMaker setting up a processing job. I created a 'part_rel_processing.ipynb' file which triggers the job and takes care of the input/output file paths and then I…

chongochoo
- 7
- 3
0
votes
1 answer
AWS Athena CREATE TABLE An error occurred (InvalidRequestException) when calling the StartQueryExecution mismatched input 'EXTERNAL'. Expecting
I am trying to create a table via AWS Athena and getting the following error:
An error occurred (InvalidRequestException) when calling the StartQueryExecution operation: line 1:8: mismatched input 'EXTERNAL'. Expecting: 'OR', 'SCHEMA', 'TABLE',…

chongochoo
- 7
- 3
0
votes
1 answer
What happens after I delete the ECR image after using it to create-image-version on Sagemaker?
What happens after I delete the ECR image after using it to create-image-version on Sagemaker? Will I still be able to use the image?

terrygryffindor
- 145
- 6
0
votes
2 answers
Unable to use SageMaker JumpStart with S3 authorization error
I'm using SageMaker Studio in an account, in VPC mode. Studio has the default SageMaker full access policy, but I'm seeing this error -
Something went wrong. please ensure that your account is authorized to read from S3.
Screenshot below -
I added…

durga_sury
- 869
- 4
- 6
0
votes
0 answers
sagemaker studio cli update domain, how to add new custom image without overwriting existing settings
I have a Sagemaker studio setup with custom images attached. Currently, every time I add a new image, I maintain a json file containing all the images/settings that needs to be attached and update the domain accordingly using cli.
Is it possible to…

terrygryffindor
- 145
- 6
0
votes
0 answers
Is it possible to use nbextension in custom images for SageMaker Studio Notebooks, and how?
I'm not asking for help on debugging this particular error, but more for a general answer for Is it possible to use nbextension in custom images for SageMaker Studio Notebooks, and how?
As background:
I fail on step 2 of the Installation of…

Yann Stoneman
- 953
- 11
- 35