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.

Damaged Shipment Prediction
By:
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
Version
By
Type
Model Package
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 PricingWith 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
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:
- Access to Model Package, SageMaker and S3 storage bucket.
- Input Images of Shipment packages. (Refer to Sample Input linked below)
- Execution Role for the SageMaker session.
- 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:
- Download the IPython Notebook from the link below onto a SageMaker Notebook Instance OR Install necessary packages on the desired compute resource.
- 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
Additional Resources
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 MoreRefund 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 allWrite a review
Share your thoughts about this product.
Write a customer review