No exam weights apply. Lessons follow practical prerequisites, from one tensor to a small transformer, then debugging, inference and a final challenge.
Stop on validation loss with a patience rule, restore the best checkpoint and report the test result once.
Convolutional Networks (3 lessons)
How convolution and pooling work
Compute a convolution by hand and check it with nn.Conv2d.
Calculate output shapes from kernel size, padding and stride, and explain channels and pooling.
Build and train a convolutional network
Build a small CNN for Fashion-MNIST and trace its shapes.
Compare it with the MLP baseline at a fixed budget and similar parameter count.
Inspect a CNN's errors, filters and feature maps
Compute and read a confusion matrix with tensors.
Visualise first-layer filters and feature maps and describe what they respond to.
Reusing a Trained Network (2 lessons)
Prepare a trained network for reuse
Pre-train a CNN on six clothing classes and save its feature layers.
Freeze layers, replace the output layer and check what will be trained.
Fine-tune and compare with training from scratch
Fine-tune with frozen features and with all layers using parameter groups.
Compare with training from scratch at equal data and budget and state the limits of the conclusion.
Sequence Models (2 lessons)
Represent tokens with embeddings and padding
Turn variable-length token sequences into a padded batch with lengths.
Look up embeddings and keep the padding index out of training.
Train a recurrent sequence classifier
Train an LSTM classifier on padded, packed sequences.
Show that taking the last padded position gives wrong results and that packing fixes it.
Attention and Transformers (4 lessons)
Implement scaled dot-product attention
Compute attention step by step and implement it as a function.
Add a causal mask and check the result against F.scaled_dot_product_attention.
Build a transformer block
Build a pre-norm transformer block with multi-head attention, positional embeddings, residual connections and a feed-forward layer.
Compare it with nn.TransformerEncoderLayer, including batch_first and the nested-tensor warning.
Train a character-level language model
Prepare next-character training pairs with a held-out validation segment.
Train a small transformer and an LSTM at the same budget and compare validation loss with simple baselines.
Generate text with temperature sampling
Generate text one character at a time with greedy and temperature sampling.
Explain why fluent output can be meaningless and must not be treated as fact.
Debugging, Repeatability and Speed (4 lessons)
Debug a model that does not learn
Apply a step-by-step debugging procedure to a training script.
Use the overfit-one-batch test and data checks to find data and label bugs.
Find numerical and mode bugs
Detect non-finite values and locate their source.
Find bugs caused by softmax before the loss and by evaluation mode left on during training.
Make training repeatable
Seed every random source, including DataLoader shuffling and workers.
State what repeatability PyTorch does and does not guarantee.
Measure and improve training speed on a CPU
Time training correctly and choose thread and worker settings from measurements.
Write device-agnostic code and judge optional speed-ups such as torch.compile and bfloat16 autocast.
Saving and Inference (1 lessons)
Save a model and predict in a separate script
Rebuild a model and load its weights safely in a separate inference script.
Predict in eval mode under inference_mode with input checks and reproduce the evaluation result.
Final Challenge (1 lessons)
Final challenge: a limited-label image classifier
Fix a supplied broken baseline, then build, train and evaluate a model under a parameter and time limit.
Write a short report that justifies the architecture, training choices and evidence.
Optional: Running on a GPU (1 lessons)
Optional: run the course scripts on a GPU
Run a device-agnostic script on an NVIDIA CUDA or Apple MPS GPU you own, in a separate environment.
Time GPU runs correctly and explain differences from CPU results.
Study views
Full Course
Revision
Quick Reference
Who this is for
For developers, analysts and students who can write small Python programs, have trained a basic model, and want to build and train neural networks themselves with PyTorch.
Before you begin
Write a short Python script, read a traceback, use a terminal, read a NumPy array's shape, and know basic machine learning terms such as feature, label and validation set.
Python 3.12 to 3.14 (not 3.14.1) with the documented CPU build of PyTorch 2.14.1, torchvision, NumPy and Matplotlib. Core work runs locally without a GPU or cloud account.
What you will learn
Write and explain a complete training loop, from tensors and autograd to checkpoints that resume.
Diagnose training problems and overfitting, and fix them from loss curves, gradients and validation results.
Build convolutional, recurrent and small transformer models, and predict from a saved model in a separate script.
Unlock all 41 lessons
Course access opens every lesson and adds revision notes, the Quick Reference, saved progress, bookmarks and your own notes.
INR 199 plus 18% GST. 90 days of online access. No auto-renewal.
Know what is included
Independent learning material from Vectametric. Not affiliated with or endorsed by the organisations behind the tools it teaches. Practice exams and projects are separate. Completing a course is not a professional certification.
Questions about courses
Are these video courses or reading courses?
The current courses use written lessons, examples and diagrams. Full Course, Revision and Cheat Sheet or Quick Reference views cover the same learning sequence at different levels of detail.
Which course should I start with?
Choose a Certification Course for a named exam, a Career Path Course for a role-led sequence, or a Skill Course for a focused subject. Read its level, prerequisites and curriculum before enrolling.
Do revision notes replace the full lessons?
No. Start with the full explanations, then use revision notes to refresh your understanding. Cheat sheets are concise study references, not a substitute for learning or permission to use notes during an official exam.
Are practice exams and projects included?
No. Course access, practice-exam bundles and project access are separate. An official certification, exam booking or voucher is not included.
How long do I have access?
The course page and checkout show the current online access period and price, including free enrollment where offered. Access starts when enrollment is confirmed and does not auto-renew.
Can I read lessons before enrolling?
Yes. Each course opens its first lessons to read without an account, and some courses are open in full. The course curriculum marks the lessons you can read now. Course access adds the remaining lessons, the Revision and Cheat Sheet or Quick Reference views, saved progress, bookmarks and personal notes.
Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.