# surmenok/gtsrb architecture

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

- Interactive diagram: https://gitdiagram.com/surmenok/gtsrb
- Repository: https://github.com/surmenok/gtsrb

## Overview

This repository is a notebook-based German traffic sign classifier. Its documented workflow fine-tunes an ImageNet-pretrained ResNet-34 on GTSRB images to classify 43 sign categories, then reports validation accuracy. The notebook is the only implementation file in the tree; no source excerpts were provided, so the relationships shown are limited to those stated in the README.

Main entry points: [`german-traffic-signs.ipynb`](https://github.com/surmenok/gtsrb/blob/master/german-traffic-signs.ipynb) (Fine-tuned ResNet-34)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Training data"]
  node_gtsrb[("GTSRB dataset")]
end

subgraph group_model["Classification"]
  node_imagenet[("ImageNet pretrained weights")]
  node_resnet["Fine-tuned ResNet-34"]
  node_classification["Sign classification"]
  node_validation["Validation accuracy"]
end

node_imagenet -->|"initializes"| node_resnet
node_gtsrb -->|"fine-tunes"| node_resnet
node_resnet -->|"classifies signs"| node_classification
node_resnet -->|"evaluated at"| node_validation

click node_resnet "https://github.com/surmenok/gtsrb/blob/master/german-traffic-signs.ipynb"
click node_classification "https://github.com/surmenok/gtsrb/blob/master/german-traffic-signs.ipynb"
click node_validation "https://github.com/surmenok/gtsrb/blob/master/german-traffic-signs.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_gtsrb toneBlue
class node_imagenet,node_resnet,node_classification,node_validation toneAmber
```

## Components

### Training data

- **GTSRB dataset**

### Classification

- **ImageNet pretrained weights**
- [Fine-tuned ResNet-34](https://github.com/surmenok/gtsrb/blob/master/german-traffic-signs.ipynb): `german-traffic-signs.ipynb`
- [Sign classification](https://github.com/surmenok/gtsrb/blob/master/german-traffic-signs.ipynb): `german-traffic-signs.ipynb`
- [Validation accuracy](https://github.com/surmenok/gtsrb/blob/master/german-traffic-signs.ipynb): `german-traffic-signs.ipynb`

## Connections

- ImageNet pretrained weights → Fine-tuned ResNet-34: initializes (evidence: `README.md`)
- GTSRB dataset → Fine-tuned ResNet-34: fine-tunes (evidence: `README.md`)
- Fine-tuned ResNet-34 → Sign classification: classifies signs (evidence: `README.md`)
- Fine-tuned ResNet-34 → Validation accuracy: evaluated at (evidence: `README.md`)
