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
atalaghat/diffusion — Generative Diffusion Training Artifacts for Pavement Distress Augmentation
Repository Status Note: This repository currently hosts TensorBoard training logs (
logs/train_example/) and progressive epoch image samples (samples/andgenerated_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.
Research Context & Associated Publication
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:
- 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 - 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
Intended Use
- 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.
- 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.
Current Repository Contents
| Path | Description |
|---|---|
generated_images/ |
Sampled outputs at training epochs 49, 99, and 149 (sample_1 to sample_10). |
samples/ |
Periodic visual progression checkpoints (0009.png to 0349.png and epoch_10.png). |
logs/train_example/ |
TensorBoard event files (events.out.tfevents.*) recording training progression. |
Quantitative Evaluation Status
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.
Author & Links
- Author: Dr. Mohammad Amin Talaghat (Ph.D., Amirkabir University of Technology; Research Assistant / DigiPave Visiting Scholar, University of Oulu)
- ORCID:
0000-0002-1245-4689 - Google Scholar:
QW77YRoAAAAJ - Portfolio & Full Publications:
https://atalaghat.github.io/atalaghat/
Citation (BibTeX)
@article{talaghat2025ijpe_diffusion,
author = {Talaghat, Mohammad Amin and Golroo, Amir and Shahhosseini, Vahid and Rasti, Mehdi},
title = {Enhancing pavement distress segmentation model with diffusion-based generative AI: a digital twin perspective},
journal = {International Journal of Pavement Engineering},
volume = {26},
number = {1},
pages = {2540076},
year = {2025},
doi = {10.1080/10298436.2025.2540076},
publisher = {Taylor \& Francis}
}
Author / پژوهشگر: Dr. Mohammad Amin Talaghat (دکتر محمدامین طلاقت) · Official Portfolio · Verified Profiles Directory
- Downloads last month
- -