ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား

Built-in algorithms: image and video

Image Classification, Object Detection and Semantic Segmentation, and when Rekognition is the better choice.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

  • Image Classification

    Output
    A label per image
    Training data
    Images with labels
  • Object Detection

    Output
    Boxes and labels
    Training data
    Images and box annotations
  • Semantic Segmentation

    Output
    A class per pixel
    Training data
    Images and masks
The three vision algorithms.
Standard objects or faces?
Rekognition
No ML code, few images?
Rekognition Custom Labels
SageMaker AI algorithm
yesnoyesno
Rekognition or SageMaker AI?

ဘာလဲ

Three built-in algorithms handle images. Image Classification gives a label for each image (or several labels, in multi-label mode). Object Detection finds each object and returns a bounding box and a label. Semantic Segmentation labels every pixel with a class, for tasks such as road scenes. The built-in algorithms read images, so for video, extract frames and run them on the frames.

ဘာလဲ

They are neural networks, so you train on GPU instances. Often you use transfer learning: start from a network pre-trained on a large image set and fine-tune it on your images, which needs far fewer images and less time. Both MXNet and TensorFlow versions exist; the TensorFlow ones fine-tune pre-trained TensorFlow Hub models.

Input: images as JPEG or PNG files, or packed RecordIO files. Object Detection also needs annotation files with the boxes, and Semantic Segmentation needs a mask image for each training image.

ဘာလဲ

Compare Amazon Rekognition. Use Rekognition when its standard labels fit. Use Rekognition Custom Labels for your own objects with a few images and no ML code. Use a SageMaker AI algorithm when you need control over the network, tuning or training data at scale.

မှတ်ထားရန်

  • Image Classification: one label per image. Object Detection: boxes and labels. Semantic Segmentation: a class per pixel.
  • Train on GPU instances.
  • Transfer learning starts from a pre-trained network and needs fewer images.
  • Formats: image files (JPEG, PNG) or RecordIO. Detection needs box annotations. Segmentation needs mask images.

မှတ်ထားရန်

  • Video: run the algorithm on extracted frames.
  • Standard objects: Rekognition. Your own objects with no code: Rekognition Custom Labels.

စာမေးပွဲမှာ

  • “Draw a box around each defect in factory photos” points to Object Detection.
  • “Label every pixel as road, car or person” points to Semantic Segmentation.
  • “Train an image classifier with only a few hundred images” points to transfer learning.
  • “Find our own logo with no ML code” points to Rekognition Custom Labels.