Unconditional Image Generation
Diffusers
TensorBoard
English
diffusion
ddpm
generative-ai
synthetic-data
pavement-distress
crack-segmentation
civil-engineering
digital-twin
astm-d6433-23
infrastructure-ai
Instructions to use atalaghat/diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use atalaghat/diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("atalaghat/diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Add peer-reviewed Model Card linking IJPE DOI 10.1080/10298436.2025.2540076, ORCID, and portfolio
Browse files
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: diffusers
|
| 3 |
+
license: mit
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- diffusion
|
| 8 |
+
- ddpm
|
| 9 |
+
- generative-ai
|
| 10 |
+
- synthetic-data
|
| 11 |
+
- pavement-distress
|
| 12 |
+
- crack-segmentation
|
| 13 |
+
- civil-engineering
|
| 14 |
+
- digital-twin
|
| 15 |
+
- astm-d6433-23
|
| 16 |
+
- infrastructure-ai
|
| 17 |
+
pipeline_tag: unconditional-image-generation
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# `atalaghat/diffusion` — Generative Diffusion Training Artifacts for Pavement Distress Augmentation
|
| 21 |
+
|
| 22 |
+
> **Repository Status Note:** This repository currently hosts TensorBoard training logs (`logs/train_example/`) and progressive epoch image samples (`samples/` and `generated_images/image_epoch_{49,99,149}_sample_*.png`) generated during research on synthetic asphalt pavement distress imagery. Serialized checkpoint weights (`.safetensors` / `.pt`) are pending upload.
|
| 23 |
+
|
| 24 |
+
## Research Context & Associated Publication
|
| 25 |
+
|
| 26 |
+
This repository accompanies peer-reviewed research investigating Denoising Diffusion Probabilistic Models (DDPM) to synthesize realistic asphalt pavement distress imagery and alleviate class imbalance in automated road condition segmentation and digital twin pipelines:
|
| 27 |
+
|
| 28 |
+
- **Journal Article:** Talaghat, M. A., Golroo, A., Shahhosseini, V., & Rasti, M. (2025). *Enhancing pavement distress segmentation model with diffusion-based generative AI: a digital twin perspective*. **International Journal of Pavement Engineering**, 26(1), 2540076. DOI: [`10.1080/10298436.2025.2540076`](https://doi.org/10.1080/10298436.2025.2540076)
|
| 29 |
+
- **Companion Conference Paper:** Talaghat, M. A., Golroo, A., & Rasti, M. (2025). *Improving Pavement Distress segmentation with Diffusion-Based Generative AI*. **AM3P Conference Proceedings**, Vol. 4, pp. 579–582, TU Wien. DOI: [`10.34726/10798`](https://doi.org/10.34726/10798)
|
| 30 |
+
|
| 31 |
+
## Intended Use
|
| 32 |
+
|
| 33 |
+
- **Primary Purpose:** Synthetic data augmentation for rare and severe asphalt pavement distress categories (e.g., alligator/fatigue cracking, longitudinal/transverse cracking, potholes) to support downstream segmentation models (such as U-Net, DeepLab, and YOLOv8/YOLOv11) within ASTM D6433-23 Pavement Condition Index (PCI) and road digital twin workflows.
|
| 34 |
+
- **Out-of-Scope Use:** Generated synthetic images are intended strictly for machine learning training augmentation and ablation studies. They must not be represented as raw field inspection records or substituted for physical ASTM D6433-23 engineering audits.
|
| 35 |
+
|
| 36 |
+
## Current Repository Contents
|
| 37 |
+
|
| 38 |
+
| Path | Description |
|
| 39 |
+
| :--- | :--- |
|
| 40 |
+
| `generated_images/` | Sampled outputs at training epochs 49, 99, and 149 (`sample_1` to `sample_10`). |
|
| 41 |
+
| `samples/` | Periodic visual progression checkpoints (`0009.png` to `0349.png` and `epoch_10.png`). |
|
| 42 |
+
| `logs/train_example/` | TensorBoard event files (`events.out.tfevents.*`) recording training progression. |
|
| 43 |
+
|
| 44 |
+
## Quantitative Evaluation Status
|
| 45 |
+
|
| 46 |
+
Checkpoint-level validation metrics for the specific weights corresponding to this repository are `[Pending Checkpoint Upload & Verification]`. For full experimental methodology, dataset configuration, and published segmentation augmentation findings, refer directly to the peer-reviewed article at [`https://doi.org/10.1080/10298436.2025.2540076`](https://doi.org/10.1080/10298436.2025.2540076).
|
| 47 |
+
|
| 48 |
+
## Author & Links
|
| 49 |
+
|
| 50 |
+
- **Author:** Dr. Mohammad Amin Talaghat (Ph.D., Amirkabir University of Technology; Research Assistant / DigiPave Visiting Scholar, University of Oulu)
|
| 51 |
+
- **ORCID:** [`0000-0002-1245-4689`](https://orcid.org/0000-0002-1245-4689)
|
| 52 |
+
- **Google Scholar:** [`QW77YRoAAAAJ`](https://scholar.google.com/citations?user=QW77YRoAAAAJ)
|
| 53 |
+
- **Portfolio & Full Publications:** [`https://atalaghat.github.io/atalaghat/`](https://atalaghat.github.io/atalaghat/)
|
| 54 |
+
|
| 55 |
+
## Citation (BibTeX)
|
| 56 |
+
|
| 57 |
+
```bibtex
|
| 58 |
+
@article{talaghat2025ijpe_diffusion,
|
| 59 |
+
author = {Talaghat, Mohammad Amin and Golroo, Amir and Shahhosseini, Vahid and Rasti, Mehdi},
|
| 60 |
+
title = {Enhancing pavement distress segmentation model with diffusion-based generative AI: a digital twin perspective},
|
| 61 |
+
journal = {International Journal of Pavement Engineering},
|
| 62 |
+
volume = {26},
|
| 63 |
+
number = {1},
|
| 64 |
+
pages = {2540076},
|
| 65 |
+
year = {2025},
|
| 66 |
+
doi = {10.1080/10298436.2025.2540076},
|
| 67 |
+
publisher = {Taylor \& Francis}
|
| 68 |
+
}
|
| 69 |
+
```
|