Skip to content

Commit 99988cb

Browse files
committed
docs: expand modular documentation specifications, add env template, and polish CLI APIs
1 parent 6089ec3 commit 99988cb

11 files changed

Lines changed: 456 additions & 429 deletions

.env.example

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# DeepVision AI Environment Configuration Template
2+
# Copy this file to .env for local environment overrides
3+
4+
# Project Settings
5+
DEEPVISION_ENV=development
6+
DEEPVISION_SEED=42
7+
8+
# Hardware Acceleration
9+
CUDA_VISIBLE_DEVICES=0
10+
TORCH_NUM_THREADS=4
11+
12+
# Data Directories Override (Optional)
13+
# DEEPVISION_RAW_DATA=data/raw
14+
# DEEPVISION_PROCESSED_DATA=data/processed

PROJECT_STATUS.md

Lines changed: 30 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,46 @@
1-
# DeepVision AI — Project Status
1+
# DeepVision AI — Implementation Status & Roadmap
22

3-
## Sprint 1 – Foundation ✅
4-
- [x] Repository Recovery & Code Refactoring
5-
- [x] Clean Portable Development Environment (`environment.yml`, `requirements.txt`)
6-
- [x] Hierarchical YAML Configuration System (`configs/default.yaml`, `configs/smoke_test.yaml`)
3+
> Accurate status summary of implemented, tested, experimental, and planned system components.
74
85
---
96

10-
## Sprint 2 – Data Pipeline ✅
11-
- [x] Dataset Metadata Indexer (`src/datasets/tf_dataset_builder.py`)
12-
- [x] Stratified Dataset Split Generator (`src/datasets/split_generator.py`)
13-
- [x] Sequence Dataset Loader with `.npy` Support (`src/datasets/sequence_dataset.py`)
7+
## 1. Implemented Components
8+
9+
- **Dataset Indexer & Metadata Generator**: `src/datasets/tf_dataset_builder.py`
10+
- **Stratified Split Generator**: `src/datasets/split_generator.py`
11+
- **Sequence Dataset Loader (.npy)**: `src/datasets/sequence_dataset.py`
12+
- **Balanced Class Sampler**: `src/datasets/balanced_sampler.py`
13+
- **PyTorch DataLoader Factory**: `src/datasets/dataloader.py`
14+
- **ViT-B/16 + Temporal Pooling Model**: `src/models/vit_temporal_pooling.py`
15+
- **EfficientNet-B2 + BiLSTM Model**: `src/models/efficientnet_bilstm.py`
16+
- **Model Factory System**: `src/models/model_factory.py`
17+
- **Config-Driven Training Engine**: `train.py`, `src/training/trainer.py`
18+
- **Checkpoint & Experiment Tracking**: `src/training/checkpoint.py`
19+
- **Metric Computer & Evaluator**: `evaluate.py`, `src/training/metrics.py`
20+
- **Grad-CAM Visual Heatmap Engine**: `src/explainability/gradcam.py`
21+
- **Multi-Clip Video Inference Engine**: `predict.py`, `src/inference/predictor.py`
1422

1523
---
1624

17-
## Sprint 3 – Training Infrastructure ✅
18-
- [x] Balanced Sampler for Class Imbalance (`src/datasets/balanced_sampler.py`)
19-
- [x] PyTorch DataLoader Factory (`src/datasets/dataloader.py`)
20-
- [x] Modular Training Engine (`src/training/trainer.py`)
21-
- [x] Checkpoint & Artifact Manager (`src/training/checkpoint.py`)
22-
- [x] Structured Logging System (`src/utils/logger.py`)
25+
## 2. Tested Components
2326

24-
---
25-
26-
## Sprint 4 – Model Architectures ✅
27-
- [x] ViT-B/16 + Temporal Mean Pooling Core Model (`src/models/vit_temporal_pooling.py`)
28-
- [x] EfficientNet-B2 + BiLSTM Hybrid Model (`src/models/efficientnet_bilstm.py`)
29-
- [x] Factory Interface for Model Instantiation (`src/models/model_factory.py`)
27+
- **Unit Test Suite**: 23 test modules in `tests/` covering config loading, dataset construction, sequence shapes, model factory, forward passes, metric calculations, checkpointing, trainer loops, inference, and explainability.
28+
- **CPU Training Smoke Test**: 1-epoch execution on CPU via `python train.py --config configs/smoke_test.yaml --synthetic-fallback`.
29+
- **CPU Evaluation Smoke Test**: Complete test set evaluation & metric reporting via `evaluate.py`.
30+
- **Inference Pipeline Smoke Test**: Multi-clip sequence tensor inference via `predict.py`.
31+
- **Automated CI**: GitHub Actions workflow in `.github/workflows/ci.yml`.
3032

3133
---
3234

33-
## Sprint 5 – Evaluation Pipeline ✅
34-
- [x] Evaluation Metric Engine (`evaluate.py`)
35-
- [x] ROC Curve & AUC Generator
36-
- [x] Confusion Matrix Display Export
37-
- [x] Predictions CSV Export & Metric JSON Output
38-
39-
---
35+
## 3. Experimental Components
4036

41-
## Sprint 6 – Explainability & Inference ✅
42-
- [x] Grad-CAM Visual Heatmap Extractor (`src/explainability/gradcam.py`)
43-
- [x] Multi-Clip Video Inference Engine (`src/inference/predictor.py`)
44-
- [x] Inference CLI (`predict.py`)
37+
- **Multi-Dataset Cross Evaluation**: Benchmarking models trained on FF++ against unseen Celeb-DF v2 splits.
38+
- **Layer-Specific Grad-CAM Target Tuning**: Comparing activation heatmaps across different Vision Transformer projection blocks.
4539

4640
---
4741

48-
## Sprint 7 – Verification & Test Suite ✅
49-
- [x] Comprehensive `unittest` Suite in `tests/`
50-
- [x] End-to-End CPU Training Smoke Test
51-
- [x] GitHub Actions CI Pipeline (`.github/workflows/ci.yml`)
52-
53-
---
42+
## 4. Planned Roadmap
5443

55-
## Sprint 8 – Documentation ✅
56-
- [x] Technical Architecture Documentation (`docs/ARCHITECTURE.md`)
57-
- [x] Professional Portfolio README (`README.md`)
44+
- [ ] Streamlit interactive web deployment interface.
45+
- [ ] 3D CNN spatio-temporal backbones (ResNet3D, SlowFast).
46+
- [ ] Model quantization & ONNX runtime export for real-time mobile/edge inference.

0 commit comments

Comments
 (0)