Skip to content

theolemonnier/pds_final

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VITA SEMESTER PROJECT

AFLink Occlusion Evaluation Project

This repository contains the code and experiments used to evaluate the robustness of an AFLink-based tracking model under synthetic occlusions.
The objective is to study how temporal, spatial, and motion constraints affect tracking performance when trajectories are partially occluded.

The complete project report is available as a PDF in this repository.


Repository Setup

All experiments should be run from the pds_final/ directory.

cd pds_final # if not already in it

conda env create -f environment.yml
conda activate pds
pip install -e project

important note

Notebooks Overview (notebook_finals)

Main scripts are written in bacasable > project > scripts. The flow of the scripts and their use is detail by notebooks. These notebooks cover the full pipeline: dataset construction, model training, evaluation under occlusions, and result visualization. They are designed so that the reader can understand and go throught all the scripts easily


1. build_dataset.ipynb

Purpose: dataset and trajectory generation

This notebook:

  • Builds initial trajectories from raw detections
  • Creates training and validation files for AFLink hyperparameter optimization
  • Generates occluded trajectories used to evaluate the model on the target task

This is the entry point of the project.


2. train_AFLink.ipynb

Purpose: model training and hyperparameter optimization

This notebook:

  • Re-trains the AFLink model
  • Performs grid search to optimize hyperparameters
  • Compares different trained models
  • Produces precision vs recall curves for multiple configurations

3. eval_model_on_occlusions.ipynb

Purpose: robustness evaluation under occlusions

This notebook:

  • Evaluates trained models and baselines
  • Tests performance under different occlusion durations
  • Compute metrics when adding different constraint configurations (temporal, spatial, motion-based)

4. visualize_results.ipynb

Purpose: results analysis and visualization

This notebook:

  • Reproduces the figures from the Results section of the report
  • Allows plotting results for other models or configurations
  • Facilitates further analysis and extensions

Aditional infos

  • Models are provided in the models folder but can be recomputed, same goes for results saved in results > AFLink downloaded & results > model_e20_bs16_lr0.001_warm0_decay1e-05_workers0_valbs32_minL15_inL30.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published