Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Sign in
Your Saved List Become a Channel Partner Sell in AWS Marketplace Amazon Web Services Home Help

Amazon Sagemaker

Amazon SageMaker is a fully-managed platform that enables developers and data scientists to quickly and easily build, train, and deploy machine learning models at any scale. With Amazon SageMaker, all the barriers and complexity that typically slow down developers who want to use machine learning are removed. The service includes models that can be used together or independently to build, train, and deploy your machine learning models.

product logo

Damaged Shipment Prediction

Latest Version:
3.0
Damaged Shipment Prediction analyzes images of shipment packages and predicts with whether they are damaged or not.

    Product Overview

    Damaged Shipment Prediction model takes images of shipments at various stages of delivery cycle & predicts whether the shipment’s packaging is damaged or not. It can be used by logistics firms to assess damages and identify stages with high risk of incurring damage, optimize the stages and deliver shipments on-time without damage.

    Key Data

    Type
    Model Package
    Fulfillment Methods
    Amazon SageMaker

    Highlights

    • Logistics industry face great risks in cargo damage resulting in loss of time, money and customer dissatisfaction. To reduce cargo damage and improve on-time delivery, it is important to continuously supervise images of shipments throughout a delivery cycle.

    • Damaged Shipment Prediction model analyzes these images of shipments and predicts whether they are damaged or not. The prediction helps to monitor a delivery cycle, understand stages and process responsible for damages, plan and optimize the process accordingly.

    • Mphasis DeepInsights is a cloud-based cognitive computing platform that offers data extraction & predictive analytics capabilities. Need customized image analytics solutions? Get in touch!

    Not quite sure what you’re looking for? AWS Marketplace can help you find the right solution for your use case. Contact us

    Pricing Information

    Use this tool to estimate the software and infrastructure costs based your configuration choices. Your usage and costs might be different from this estimate. They will be reflected on your monthly AWS billing reports.

    Contact us to request contract pricing for this product.


    Estimating your costs

    Choose your region and launch option to see the pricing details. Then, modify the estimated price by choosing different instance types.

    Version
    Region

    Software Pricing

    Model Realtime Inference$8.00/hr

    running on ml.c5.xlarge

    Model Batch Transform$16.00/hr

    running on ml.c5.xlarge

    Infrastructure Pricing

    With Amazon SageMaker, you pay only for what you use. Training and inference is billed by the second, with no minimum fees and no upfront commitments. Pricing within Amazon SageMaker is broken down by on-demand ML instances, ML storage, and fees for data processing in notebooks and inference instances.
    Learn more about SageMaker pricing

    SageMaker Realtime Inference$0.204/host/hr

    running on ml.c5.xlarge

    SageMaker Batch Transform$0.204/host/hr

    running on ml.c5.xlarge

    Model Realtime Inference

    For model deployment as Real-time endpoint in Amazon SageMaker, the software is priced based on hourly pricing that can vary by instance type. Additional infrastructure cost, taxes or fees may apply.
    InstanceType
    Realtime Inference/hr
    ml.m4.4xlarge
    $8.00
    ml.m5.4xlarge
    $8.00
    ml.m4.16xlarge
    $8.00
    ml.m5.2xlarge
    $8.00
    ml.p3.16xlarge
    $8.00
    ml.m4.2xlarge
    $8.00
    ml.c5.2xlarge
    $8.00
    ml.p3.2xlarge
    $8.00
    ml.c4.2xlarge
    $8.00
    ml.m4.10xlarge
    $8.00
    ml.c4.xlarge
    $8.00
    ml.m5.24xlarge
    $8.00
    ml.c5.xlarge
    Vendor Recommended
    $8.00
    ml.p2.xlarge
    $8.00
    ml.m5.12xlarge
    $8.00
    ml.p2.16xlarge
    $8.00
    ml.c4.4xlarge
    $8.00
    ml.m5.xlarge
    $8.00
    ml.c5.9xlarge
    $8.00
    ml.m4.xlarge
    $8.00
    ml.c5.4xlarge
    $8.00
    ml.p3.8xlarge
    $8.00
    ml.m5.large
    $8.00
    ml.c4.8xlarge
    $8.00
    ml.p2.8xlarge
    $8.00
    ml.c5.18xlarge
    $8.00

    Usage Information

    Fulfillment Methods

    Amazon SageMaker

    Prerequisites for consuming the service:

    1. Access to Model Package, SageMaker and S3 storage bucket.
    2. Input Images of Shipment packages. (Refer to Sample Input linked below)
    3. Execution Role for the SageMaker session.
    4. Python Packages as listed in the Instructions Notebook linked below.

    Input

    Supported Content Type: 'application/json' (Image serialized to json as shown below in Python)

    from PIL import Image
    import json
    import numpy as np
    
    img = Image.open('images/sample1.jpg').convert(mode = 'RGB')
    img = img.resize((300,300))
    
    img = np.array(img).tolist()
    img_json = json.dumps({'instances': [{'input_image': img}]})
    
    // If required can be written to file (Also can be found in Sample link below)
    with open('img.json', 'w') as f:
        f.write(img_json)
    

    Output

    Content Type: 'application/json'

    Sample Output:

    {"prediction": "damaged"}

    Invoking Endpoint

    If you are using real time inferencing, please create the endpoint first.

    Python

    // Find detailed instructions in the Instructions Notebook lined below
    predictor = sage.RealTimePredictor(endpoint='endpoint name', 
                                       content_type='application/json',
                                       sagemaker_session= sagemaker_session, )
    prediction = predictor.predict(img_json)

    AWS CLI Command

    aws sagemaker-runtime invoke-endpoint --endpoint-name "endpoint-name" --body fileb://img.json --content-type application/json --accept application/json out.json

    Notebook Instructions:

    1. Download the IPython Notebook from the link below onto a SageMaker Notebook Instance OR Install necessary packages on the desired compute resource.
    2. Bring in the input images for classification onto the SageMaker Notebook Instance OR on the desired compute resource and follow the instructions in the IPython Notebook.

    Resources

    Sample Input Sample Notebook

    End User License Agreement

    By subscribing to this product you agree to terms and conditions outlined in the product End user License Agreement (EULA)

    Support Information

    Damaged Shipment Prediction

    For any assistance, please reach out to:

    AWS Infrastructure

    AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.

    Learn More

    Refund Policy

    Currently we do not support refunds, but you can cancel your subscription to the service at any time.

    Customer Reviews

    There are currently no reviews for this product.
    View all