Ravindra BagaleCourses & study guides English Track your progress

47. Convolutional Neural Networks (CNNs) for Images

Data Science

47.1 Why Images Need Special Layers

47.1 Images ला special layers का

224×224 photo = लाखो pixels. Flatten केलं की nearby edges हरवतात.

हे का शिकायचं?

Why. 224×224 colour photo = हजारो pixels. एका giant vector मध्ये flatten केलं की nearby pixels edges बनवतात हे हरवतं. CNNs local structure मानतात.

हे काय आहे?

What. CNN छोटी filters वापरते — image वर slide, edges/textures सारखे patterns शोधते, deeper layers त्यांना object-ish features मध्ये जोडतात.

कसं करायचं?

How.

Pixels वर plain Linear का नको?

  1. Weights खूप जास्त.
  2. मांजर दोन pixels सरकली — flat net panic; conv filters positions वर weights share करतात.
  3. CNNs = weight sharing + local connectivity.
print("Image tensor shape often: (batch, channels, height, width)")
print("Example: (16, 3, 64, 64) = 16 RGB 64x64 images")

Ravindra Bagale's Tip

A CNN slides a small window, called a filter, over the image to find patterns such as edges and shapes. It does not treat the image like one big flat spreadsheet of pixels.