47. Convolutional Neural Networks (CNNs) for Images
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 का नको?
- Weights खूप जास्त.
- मांजर दोन pixels सरकली — flat net panic; conv filters positions वर weights share करतात.
- 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.
Ravindra Bagale's Tip – मराठी
CNN image वर एक छोटी window, ज्याला filter म्हणतात, slide करतं आणि edges, shapes सारखे patterns शोधतं. ते image ला pixels ची एक मोठी सपाट spreadsheet म्हणून बघत नाही.
Ravindra Bagale's Tip – हिंदी
CNN image पर एक छोटी window, जिसे filter कहते हैं, slide करता है और edges, shapes जैसे patterns ढूँढता है. यह image को pixels की एक बड़ी सपाट spreadsheet की तरह नहीं देखता.