Giter Site home page Giter Site logo

aws-samples / sagemaker-ml-workflow-with-apache-airflow Goto Github PK

View Code? Open in Web Editor NEW
136.0 10.0 82.0 544 KB

This repository shows a sample example to build, manage and orchestrate Machine Learning workflows using Amazon Sagemaker and Apache Airflow.

License: MIT No Attribution

Jupyter Notebook 72.64% Python 27.36%

sagemaker-ml-workflow-with-apache-airflow's Issues

DAG Import Errors

image

Hello, I just set up airflow environment using Airflow 2.0.2 RDS CloudFormation.
When I access and login the airflow UI page, I got a above error.

Do you know what is problem?

Thanks,
gwangjin

Content of container

I see here that you are using a container to build a custom model.

Would it be possible to have more details on how this container is structured and understand the input/output of the estimator for different channels (e.g. train, tune, etc.)?

sagemaker version - get_image_uri() not resolved

I am trying to replicate your way of defining the DAG for a sagemaker training job. But, for this line:

from sagemaker.amazon.amazon_estimator import get_image_uri

I get this error:

Cannot find reference 'get_image_uri' in 'amazon_estimator.py' .

Is it defined in any specific version? Or would you have any suggestions for resolving this error, please?

Thanks

Sagemaker error when deployed on EC2

Hi guys,

I install sagemaker==v1.40.0

After I launch CloudFormation, I get error on EC2 log
ClientError: An error occurred (ValidationException) when calling the CreateModel operation: 2 validation errors detected: Value '{{ ti.xcom_pull(task_ids='model_training')['Training']['TrainingJobName'] }}' at 'modelName' failed to satisfy constraint: Member must have length less than or equal to 63; Value '{{ ti.xcom_pull(task_ids='model_training')['Training']['TrainingJobName'] }}' at 'modelName' failed to satisfy constraint: Member must satisfy regular expression pattern: ^a-zA-Z0-9*

Note: I checked with sagemaker==v1.39.2 ==> it worked

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.