Train and serve an image classifier through checked data, loss, validation, recovery and inference boundaries.
Learning path
- Tensor contracts: shape, dtype, device and mask
- Logits, cross-entropy and gradients: align the training calculation
- Batching and class sampling: know the population the optimizer sees
- Image augmentation: split originals first and preserve the label
- Training and validation modes: measure the model you will serve
- Checkpoint recovery: save optimizer state and the run boundary
- Inference contracts: preserve preprocessing and measure tail latency
- Project: classify receipt image quality with a checked training contract
Connected foundation
Bring the earlier analysis and evaluation contracts into this subject.
Practice
Complete the project with its failure-case evidence.
Continue the workflow: Computer Vision Tutorial.
Optimization under a memory budget
- Gradient accumulation and effective batch accounting
- Mixed precision, loss scaling and gradient clipping
Optimization under a memory budget project
Attention masks and sequence targets
Attention masks and sequence targets project
Convolution geometry and residual design
Convolution geometry and residual design project
Transfer learning and domain shift
Transfer learning and domain shift project
Continue the workflow: Frozen features versus fine-tuning a pretrained backbone.
Recurrent sequences and state ownership
Recurrent sequences and state ownership project
Reconstruction models and anomaly scores
- Masked reconstruction loss and anomaly thresholds
- Variational latent sampling, KL accounting and collapse
Reconstruction models and anomaly scores project
Continue the workflow: Project: calibrate an autoencoder alert for freezer telemetry.
Distributed training and recovery
- Distributed sampler tails and global loss weighting
- Distributed checkpoint manifests and coherent resume
Distributed training and recovery project
Confidence, abstention and evidence checks
Confidence, abstention and evidence checks project
Continue the workflow: Project: audit receipt confidence and review handoff.
Diffusion training and sampling contracts
Diffusion training and sampling contracts project
Compression and edge release
Compression and edge release project
Continue the workflow: Project: release a compact receipt model to an edge device.
Self-supervised views and contrastive objectives
- Contrastive view identity and augmentation contracts
- Contrastive temperature and negative-mask accounting
Self-supervised views and contrastive objectives project
Teacher-student distillation contracts
- Distillation soft targets, temperature and label balance
- Teacher feature adapters and layer alignment
Teacher-student distillation contracts project
Continue the workflow: Project: distill and release a receipt-quality student.
Adversarial generation and coverage audits
Adversarial generation and coverage audits project
Autoregressive decoding and cache parity
- Autoregressive KV cache position and mask parity
- Decoding stop rules, sampling and beam-score accounting
Autoregressive decoding and cache parity project
Continue the workflow: Project: release an incremental service-event decoder.
Optimization schedules and checkpoint selection
- AdamW decay groups and update-indexed schedules
- Early stopping, best-state restoration and seed variance
Optimization schedules and checkpoint selection project
Perturbation sensitivity and release gates
Perturbation sensitivity and release gates project
Continue the workflow: Project: stress-test receipt decisions under bounded image changes.
Pixel-level defect learning and mask audits
Pixel-level defect learning and mask audits project
Activation recomputation and memory measurement
- Activation checkpointing, recomputation and RNG parity
- Training memory profiling and allocator boundaries
Activation recomputation and memory measurement project
Continue the workflow: Project: segment clipped edges and folds on receipts.
Graph message passing and incident attribution
- Graph message passing, edge direction and self state
- Graph neighbor sampling and time-safe evaluation
Graph message passing and incident attribution project
Unaligned sequence recognition and OCR checks
- CTC time lengths, blank labels and alignment feasibility
- CTC greedy collapse and transcription error audit
Unaligned sequence recognition and OCR checks project
Continue the workflow: Project: attribute service incidents with a time-safe graph.
Vision tokens and resolution contracts
- Vision transformer patch grids and token contracts
- Vision position grids, resolution changes and transfer
Vision tokens and resolution contracts project
Causal convolution and interval forecasts
Causal convolution and interval forecasts project
Continue the workflow: Project: compare receipt vision tokens with a convolutional baseline.
Object boxes, matching and duplicate control
- Bounding-box transforms and one-to-one detection matching
- Class-aware suppression and detection score thresholds
Object boxes, matching and duplicate control project
Invertible density modeling and anomaly review
- Invertible flows and change-of-variables accounting
- Affine coupling layers, inverse checks and scale stability
Invertible density modeling and anomaly review project
Continue the workflow: Project: detect total, date and merchant fields on receipts.
Audio windows, spectral features and alarm review
- Audio sample rates, short-time spectra and window contracts
- Audio time-frequency masks and label preservation
Audio windows, spectral features and alarm review project
Video clips, temporal evidence and event review
- Video clip timestamps and recording-group evaluation
- Video temporal convolutions and clip aggregation
Video clips, temporal evidence and event review project
Continue the workflow: Project: detect conveyor jams from timestamped video clips.
Deep reinforcement learning and decision replay
- DQN transitions, replay sampling and reward contracts
- DQN target networks, legal-action masks and value updates
Deep reinforcement learning and decision replay project
Point-cloud learning and 3D inspection
- Point-cloud coordinate frames, sampling and scan identity
- Point-set permutation invariance and pooled features
Point-cloud learning and 3D inspection project
Continue the workflow: Project: inspect pallet damage from 3D point scans.
Sparse experts, routing and capacity
- Sparse expert routers and per-batch capacity accounting
- Expert load balance, overflow slices and dispatch consistency
Sparse experts, routing and capacity project
Neural retrieval and candidate index parity
- Two-tower embeddings and in-batch negative contracts
- Retrieval index versions, eligibility filters and candidate parity
Neural retrieval and candidate index parity project
Continue the workflow: Project: retrieve learning articles with two neural towers.
Actor-critic rollouts and clipped policy updates
- PPO rollouts, advantage estimates and bootstrap boundaries
- PPO clipped policy ratios, critic loss and KL guards
Actor-critic rollouts and clipped policy updates project
Low-rank adapters and merge parity
Low-rank adapters and merge parity project
Continue the workflow: Project: adapt a service-event classifier with low-rank weights.
Encoder-decoder attention and generated evidence
- Encoder-decoder cross-attention and source masks
- Teacher forcing, target shifts and generation parity
Encoder-decoder attention and generated evidence project
Neural ensemble uncertainty and review routing
- Deep ensembles, seed diversity and predictive disagreement
- Monte Carlo dropout, evaluation mode and batch-normalization boundaries
Neural ensemble uncertainty and review routing project
Continue the workflow: Project: generate grounded summaries of service incidents.
For the complete Deep learning learning path curriculum, return to Deep learning learning path.
