زيادة البيانات كبيانات مجانية
وسّع مجموعة بياناتك باستخدام التحويلات
زيادة البيانات كبيانات مجانية درس مجاني في Deep Learning Academy على CoddyKit. هذا هو الدرس 4 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Deep Learning Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Deep Learning Academy 4 دروس في المجموع.
بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.
Free Extra Data
Data augmentation creates new training examples by transforming the ones you already have, giving the model more variety for free. 🎁
Why It Fights Overfitting
Showing slightly changed versions each epoch stops the model from memorizing exact pixels and pushes it toward robust patterns.
Flips and Rotations
For images, simple flips and small rotations teach the model that a cat is still a cat when mirrored or tilted.
Crops and Resizes
Random crops and resizes shift the framing of an object, so the network learns to recognize it anywhere in the frame.
Color Jitter
Tweaking brightness, contrast, and hue with color jitter makes the model less fragile to lighting and camera differences.
Compose in torchvision
You chain transforms with transforms.Compose, and torchvision applies them on the fly as each image is loaded.
tf = transforms.Compose([
transforms.RandomHorizontalFlip(),
transforms.RandomCrop(32, padding=4)])Applied Per Batch
Augmentation runs inside the Dataset, so every epoch sees freshly transformed images and the dataset feels far larger.
Keep It Realistic
Only use transforms that preserve the label. Flipping a digit like 6 into 9 would corrupt your data instead of enriching it.
No Augmentation at Test
Apply augmentation to training only. For validation and test, use clean, fixed transforms so your scores stay comparable.
Beyond Images
Augmentation is not just for pictures. Text uses synonym swaps and audio uses time shifts and added noise to grow datasets.
Strong Mixing Tricks
Modern recipes blend whole images with Mixup and CutMix, mixing samples and labels for even stronger regularization.
Quick Check
Decide where data augmentation should and should not be applied.
Recap
You learned data augmentation: label-preserving transforms on training data that expand variety, fight overfitting, and cost nothing. 🌱
تعلم Python مع معلم ذكاء اصطناعي — مجانًا
اكتب وقم بتشغيل أكوادك الفعلية في المتصفح، واحصل على مساعدة فورية من معلم ذكاء اصطناعي متاح 24/7، واستمر من حيث توقفت على الويب أو في التطبيق.
- الدورات
- 30
- الدروس
- 120
الأسئلة الشائعة
هل درس «زيادة البيانات كبيانات مجانية» مجاني؟
نعم — نص درس «زيادة البيانات كبيانات مجانية» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Deep Learning Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Deep Learning Academy 4 دروس في المجموع.
ماذا ستتعلم في «زيادة البيانات كبيانات مجانية»؟
وسّع مجموعة بياناتك باستخدام التحويلات تتمرن على Deep Learning Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.
هل أحتاج إلى خبرة سابقة لأبدأ Deep Learning Academy؟
لا تُشترط خبرة سابقة. Deep Learning Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 4 من أصل 4.
كم من الوقت يستغرق درس «زيادة البيانات كبيانات مجانية»؟
معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.
هل يمكنني كتابة وتشغيل أكواد في درس Deep Learning Academy هذا؟
نعم. كل درس في Deep Learning Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.
جميع الدروس في هذه الدورة
- قراءة الفجوة بين التدريب والتحقق
- Dropout: إسقاط الخلايا العصبية عشوائيًا
- Batch Norm وLayer Norm
- زيادة البيانات كبيانات مجانية