# sreekanth-0x/eeem068-action-recognition architecture

> Architecture diagram of the GitHub repository sreekanth-0x/eeem068-action-recognition, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sreekanth-0x/eeem068-action-recognition
- Repository: https://github.com/sreekanth-0x/eeem068-action-recognition

## Overview

This repository is a coursework project for video action recognition and related experiments, implemented primarily in a single Colab notebook. The documented workflow runs notebook cells top to bottom: load HMDB_simp/JHMDB data, train and evaluate TimeSFormer and VideoMAE, then run ablations, robustness tests, localisation, and interpretability. The README also describes a Gradio demo and saved results. The notebook source was not provided, so links between these stages reflect README documentation rather than inspected calls.

Main entry points: [`notebooks/EEEM068_project.ipynb`](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb) (Main notebook), [`results/final_results.json`](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/results/final_results.json) (Saved results), [`checkpoints/final_results.json`](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/checkpoints/final_results.json) (Model checkpoints)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data and setup"]
  node_notebook["Main notebook"]
  node_hmdb[("HMDB_simp clips")]
  node_jhmdb[("JHMDB videos")]
end

subgraph group_models["Action recognition"]
  node_timesformer["TimeSFormer"]
  node_videomae["VideoMAE"]
end

subgraph group_evaluation["Evaluation and analysis"]
  node_ablation["Fine-tuning ablations"]
  node_robustness["Seed robustness"]
  node_detr["DETR localisation"]
  node_interpretability["Interpretability analysis"]
end

subgraph group_outputs["Outputs and demo"]
  node_results[("Saved results<br/>[final_results.json]")]
  node_checkpoints[("Model checkpoints<br/>[final_results.json]")]
  node_gradio["Gradio demo"]
end

node_user(("Researcher"))

node_user -->|"runs"| node_notebook
node_notebook -->|"loads clips"| node_hmdb
node_notebook -->|"loads videos"| node_jhmdb
node_notebook -->|"trains and evaluates"| node_timesformer
node_notebook -->|"trains and evaluates"| node_videomae
node_notebook -->|"runs ablations"| node_ablation
node_notebook -->|"tests robustness"| node_robustness
node_notebook -->|"runs localisation"| node_detr
node_notebook -->|"generates analyses"| node_interpretability
node_notebook -->|"uses checkpoint path"| node_checkpoints
node_notebook -.->|"saves results"| node_results
node_notebook -->|"provides demo"| node_gradio

click node_notebook "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb"
click node_timesformer "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb"
click node_videomae "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb"
click node_ablation "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb"
click node_robustness "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb"
click node_detr "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb"
click node_interpretability "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb"
click node_results "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/results/final_results.json"
click node_checkpoints "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/checkpoints/final_results.json"
click node_gradio "https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_notebook,node_hmdb,node_jhmdb toneBlue
class node_timesformer,node_videomae toneAmber
class node_ablation,node_robustness,node_detr,node_interpretability toneMint
class node_results,node_checkpoints,node_gradio toneRose
class node_user toneIndigo
```

## Components

### Data and setup

- [Main notebook](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb): `notebooks/EEEM068_project.ipynb`
- **HMDB_simp clips**
- **JHMDB videos**

### Action recognition

- [TimeSFormer](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb): `notebooks/EEEM068_project.ipynb`
- [VideoMAE](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb): `notebooks/EEEM068_project.ipynb`

### Evaluation and analysis

- [Fine-tuning ablations](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb): `notebooks/EEEM068_project.ipynb`
- [Seed robustness](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb): `notebooks/EEEM068_project.ipynb`
- [DETR localisation](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb): `notebooks/EEEM068_project.ipynb`
- [Interpretability analysis](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb): `notebooks/EEEM068_project.ipynb`

### Outputs and demo

- [Saved results](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/results/final_results.json): `results/final_results.json`
- [Model checkpoints](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/checkpoints/final_results.json): `checkpoints/final_results.json`
- [Gradio demo](https://github.com/sreekanth-0x/eeem068-action-recognition/blob/main/notebooks/EEEM068_project.ipynb): `notebooks/EEEM068_project.ipynb`

### Other components

- **Researcher**

## Connections

- Researcher → Main notebook: runs (evidence: `README.md`)
- Main notebook → HMDB_simp clips: loads clips (evidence: `README.md`)
- Main notebook → JHMDB videos: loads videos (evidence: `README.md`)
- Main notebook → TimeSFormer: trains and evaluates (evidence: `README.md`)
- Main notebook → VideoMAE: trains and evaluates (evidence: `README.md`)
- Main notebook → Fine-tuning ablations: runs ablations (evidence: `README.md`)
- Main notebook → Seed robustness: tests robustness (evidence: `README.md`)
- Main notebook → DETR localisation: runs localisation (evidence: `README.md`)
- Main notebook → Interpretability analysis: generates analyses (evidence: `README.md`)
- Main notebook → Model checkpoints: uses checkpoint path (evidence: `README.md`)
- Main notebook → Saved results: saves results
- Main notebook → Gradio demo: provides demo (evidence: `README.md`)
