Giter Site home page Giter Site logo

Comments (6)

samir-souza avatar samir-souza commented on June 3, 2024

I didn't find the info you mentioned. Could you point me to the file, line that has this instruction, pleas?

from amazon-sagemaker-mlops-workshop.

vikeshpandey avatar vikeshpandey commented on June 3, 2024

sure, so this is the notebook which uploads the data to s3:
https://github.com/awslabs/amazon-sagemaker-mlops-workshop/blob/master/lab/01_CreateAlgorithmContainer/03_Testing%20the%20container%20using%20SageMaker%20Estimator.ipynb
and it is part of lab01

and then in this notebook:
https://github.com/awslabs/amazon-sagemaker-mlops-workshop/blob/master/lab/02_TrainYourModel/01_Training%20our%20model.ipynb
it says: The dataset was already uploaded in the Exercise: 01 - Creating a Classifier Container. So, we just need to start a new automated training/deployment job in our MLOps env.

and it does not have any cell to upload the data to s3 and hence if you skipped the lab01 and directly jump to lab02, the training fails with s3 error.

from amazon-sagemaker-mlops-workshop.

samir-souza avatar samir-souza commented on June 3, 2024

Fixed. Thanks for pointing it out.

from amazon-sagemaker-mlops-workshop.

jens-andersson-2-wcar avatar jens-andersson-2-wcar commented on June 3, 2024

Hm, are you sure this fixed it? The missing file for the training is s3://sagemaker-us-east-1-ACCTNR/iris-model/input/train/training.csv but the added files in the Dec 1st commit are under "/mlops/iris/...". The failed training puzzled me a lot until I realized this (as the S3 error hinted towards a permission problem, so I kept chasing that instead).

I did the same thing as @vikeshpandey and skipped over (i) and (ii) and went straight to (iii), but then the training failed in CodePipeline. It worked for a colleague of mine though, and I eventually realized it is because the "/iris-model/input/train/training.csv" file is uploaded in step (ii), and he had run through everything. Once I did the optional steps, step (iii) worked as expected.

from amazon-sagemaker-mlops-workshop.

samir-souza avatar samir-souza commented on June 3, 2024

You are right Jens. Just pushed the correct fix for this issue. Thanks.

from amazon-sagemaker-mlops-workshop.

jens-andersson-2-wcar avatar jens-andersson-2-wcar commented on June 3, 2024

Great, thanks -- I have not tested the fix but it looks sensible from just viewing the commit.

from amazon-sagemaker-mlops-workshop.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.