Downloads · 30 days
0
Amogha-Mayya/gait-silhouette-resnet-18
gait-silhouette-resnet-18 is a image classification model from Amogha-Mayya. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as mit.
Research-grade PyTorch model for frame-level occlusion detection and severity estimation from gait silhouette sequences.
Downloads · 30 days
0
Access
Public
Updated Jul 8, 2026
Repo size
164 MB
Likes
0
Public
Click a slice to open those files.
.pth164 MB · 100%
From the Hugging Face model README
<p align="center">Research-grade PyTorch model for frame-level occlusion detection and severity estimation from gait silhouette sequences.
ResNet-18 • Transformer Encoder • CASIA-B Dataset • Multi-Task Learning
</p>Occlusions such as bags, coats, or environmental obstacles can significantly reduce the performance of gait recognition systems.
This model addresses that challenge by learning both spatial and temporal information from gait silhouette sequences. It predicts, for every frame in a walking sequence:
| Task | Output |
|---|---|
| 🔍 Occlusion Detection | Binary classification (Occluded / Clean) |
| 📈 Occlusion Severity | Continuous score between 0.0 – 1.0 |
Instead of analyzing individual frames independently, the model reasons over an entire temporal sequence using a Transformer Encoder.
Input Silhouette Sequence
│
▼
ResNet-18 Feature Extractor
│
▼
Feature Projection Layer
│
▼
Transformer Encoder
│
┌────────────┴────────────┐
▼ ▼
Detection Head Severity Head
(Binary Classification) (Regression)
The model is trained using the CASIA-B Gait Dataset, one of the most widely used benchmark datasets for gait recognition research.
| Split | Subjects |
|---|---|
| Training | 001 – 074 |
| Validation | 075 – 099 |
| Testing | 100 – 124 |
Synthetic occlusions are generated on-the-fly during training, preserving the integrity of the original dataset while improving robustness.
| Component | Value |
|---|---|
| Framework | PyTorch |
| Backbone | ResNet-18 |
| Temporal Module | Transformer Encoder |
| Optimizer | AdamW |
| LR Scheduler | Cosine Annealing |
| Mixed Precision | AMP |
| Early Stopping | Enabled |
The model is evaluated using standard classification and regression metrics.
This model is intended for: