amazon-sagemaker Questions

3

Solved

I am trying in Amazon Sagemaker to deploy an existing Scikit-Learn model. So a model that wasn't trained on SageMaker, but locally on my machine. On my local (windows) machine I've saved my model a...
Tamelatameless asked 25/1, 2021 at 9:3

5

We are using aws sagemaker that is using ecs container, Is there a way, we can setup environment variable (e.g. stage or prod) in container when calling sagemaker api using low level python sdk
Pandybat asked 6/7, 2018 at 17:16

10

I ran into this problem when I was trying to import the following libraries and it is giving the error "ImportError: cannot import name 'VectorStoreIndex' from 'llama_index' (unknown location)...

3

Memory error occurs in amazon sagemaker when preprocessing 2 gb of data which is stored in s3. No problem in loading the data. Dimension of data is 7 million rows and 64 columns. One hot encoding i...
Pompom asked 23/7, 2018 at 10:49

3

I'm new to AWS and trying to build a model (from the web console) by referring to their demo. However, when I try to create the model, it gives me the below error. Could not access model data at...

3

Solved

I am new to AWS environment and trying to solve how the data flow works. After successfully uploading CSV files from S3 to SageMaker notebook instance, I am stuck on doing the reverse. I have a d...

2

I'm trying to use the select functionality of S3 but for some files, I get OverMaxParquetBlockSize error. My select is pretty simple: r = s3.select_object_content( Bucket='prod-bucket', Key='81...
Gaw asked 6/2, 2019 at 11:0

2

Solved

I get a model from Sagemaker of type: <class 'xgboost.core.Booster'> I can score this locally which is great but some google searches have shown that it may not be possible to do "stand...
Sonometer asked 3/5, 2022 at 9:22

5

Solved

I have a folder with predicted masks on AWS Sagemaker. ( It has 4 folders inside it and lot of files inside those folders. ) I want to download the entire folder to my laptop. This might sound so ...
Peltz asked 28/2, 2019 at 17:36

4

I am using Sagemaker notebook and when importing vaex, I am getting the below error. the version of vaex I'm using is 4.16.0 PydanticImportError: BaseSettings has been moved to the pydantic-setting...
Larisalarissa asked 11/7, 2023 at 16:57

2

I would like to see the custom logs that I create inside an AWS Sagemaker JupyterLab notebook (that uses a Glue development endpoint). I want to see them as the output of a notebook cell. I tried ...
Valentino asked 28/2, 2020 at 12:31

3

Solved

I'm trying to pull the pre-built docker images for SageMaker. I am able to successfully docker login to ECR (my AWS credentials). When I try to pull the image I get the standard no basic auth crede...
Respecting asked 5/5, 2019 at 0:33

2

When i invoke the endpoint/batch job in sagemaker deployed with a custom container i want to store some information inside S3. For example, in this image In the "Deployment/Hosting" i want to pu...
Loyal asked 10/6, 2020 at 14:48

4

I am trying to create an XGBoost model in free tier AWS Sagemaker. I am getting an error of: "ResourceLimitExceeded: An error occurred (ResourceLimitExceeded) when calling the CreateEndpoint opera...
Meister asked 24/10, 2019 at 6:40

4

I am running sagemaker for the first time from my laptop. When I try to start the session I get this error ValueError: Must setup local AWS configuration with a region supported by SageMaker Local...
Haim asked 26/4, 2019 at 14:24

2

I am trying to set up a multi-model endpoint (or more accurately re-set it up as I am pretty sure it was working a while ago, on an earlier version of sagemaker) to do language translation. But am ...
Rainy asked 27/11, 2020 at 21:28

1

I have a CDK app in which I create a Sagemaker endpoint using CfnEndpoint. When I omit the name parameter, CDK generates me a unique one which is great. const endpoint = new CfnEndpoint(this, &quot...

3

On resuming or restarting the sagemaker-studio I have the below message pop-up. Even after clearing the workspace, it won't open. After few such retries, the Jupiter notebook (sagemaker studio / I...
Narcotize asked 20/7, 2020 at 23:16

6

I have installed miniconda on my AWS SageMaker persistent EBS instance. Here is my starting script: #!/bin/bash set -e # OVERVIEW # This script installs a custom, persistent installation of conda...

3

I'm trying to run a training job on AWS Sagemaker, but it keeps failing giving the following error: ClientError: Unable to parse csv: rows 1-5000, file /opt/ml/input/data/train/KMeans_data.csv I'...

2

Solved

After setting up an endpoint for my model on Amazon SageMaker, I am trying to invoke it with a POST request which contains a file with a key image & content type as multipart/form-data. My AWS...
Heisenberg asked 5/8, 2018 at 21:25

3

Solved

I spin up a Sagemaker notebook using the conda_python3 kernel, and follow the example Notebook for Random Cut Forest. As of this writing, the Sagemaker SDK that comes with conda_python3 is version ...
Affaire asked 24/8, 2020 at 20:26

2

I want to use the mlflow web-based user interface from a notebook on Amazon SageMaker. But the given address http://127.0.0.1:5000 doesn't seeem to work. I have installed mlflow on a SageMaker not...
Homeland asked 9/4, 2019 at 12:40

3

Solved

I am new to Amazon SageMaker and I am closely following this tutorial https://aws.amazon.com/blogs/machine-learning/creating-a-machine-learning-powered-rest-api-with-amazon-api-gateway-mapping-temp...
Fleet asked 24/5, 2020 at 9:49

2

I am creating a Lambda function to start one SageMaker notebook instance as following: import boto3 import logging def lambda_handler(event, context): client = boto3.client('sagemaker') client.st...
Stormy asked 19/5, 2023 at 23:2

© 2022 - 2024 — McMap. All rights reserved.