Computer Vision Labs

Computer Vision Labs

external-link

Mar 2026

Finished

Three comprehensive computer vision lab assignments from the MUIARFID master's program. Exercise 1 — Gender Recognition: train a CNN with under 100K parameters achieving >98% accuracy. Supports small/large CNN and ResNet architectures. Exercise 2 — Car Model Identification: Bilinear CNN with pretrained backbones (VGG-16, ResNet-50) in three combinations (vg-res, vg-vg, res-res). Two-stage training with backbone freezing then full fine-tuning at reduced LR. Exercise 3 — Attention Visualization: explore ViT attention maps using raw attention rollout and interactive per-patch head selection. Built with PyTorch Lightning for clean training loops, automatic checkpointing, and early stopping. Includes 4 Jupyter notebooks for interactive experimentation and a CLI for batch training runs.

Technologies
ai

AI

huggingface

HuggingFace

jupyter

Jupyter

latex

LaTeX

matplot

Matplot

numpy

NumPy

opencv

OpenCV

plotly

Plotly

python

Python

pytorch

PyTorch

sklearn

Sklearn

https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/bus1_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/peackock_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcan_rollout_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_heads_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_1_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_10_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_11_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_3_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_5_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_6_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/zebra_back_layer_3_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/bus1_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/peackock_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcan_rollout_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_heads_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_1_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_10_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_11_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_3_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_5_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_6_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/zebra_back_layer_3_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/bus1_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/peackock_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcan_rollout_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_heads_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_1_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_10_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_11_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_3_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_5_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_6_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/zebra_back_layer_3_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/bus1_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/peackock_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcan_rollout_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_heads_layer2_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_1_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_10_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_11_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_3_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_5_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/volcano_reflection_layer_6_169.png
https://raw.githubusercontent.com/MiquelGomezCorral/VPC-Labs/main/readme-images/zebra_back_layer_3_169.png