Iqra Nosheen, Cathy Ennis, Michael G. Madden.
This project focuses on enhancing the realism of synthetic datasets for autonomous vehicle applications. We integrate a segmentation-guided ControlNet with Stable Diffusion fine-tuned on the KITTI dataset to bridge the domain gap between synthetic and real-world data, improving the realism and usability of synthetic data for downstream tasks like object detection and depth estimation.
The following block diagram illustrates the core components of our pipeline:

For training, we followed the approach outlined in this GitHub repository, which focuses on fine-tuning Stable Diffusion using LoRA (Low-Rank Adaptation) and ControlNet for few-shot image transfer.
Install Dependencies: Make sure your Python environment is activated. Then install the required packages, set the dataset path and configure hyper-parameters in the my_experiment.yaml file in the configs folder
pip install -r requirements.txt
python train.py
Set the path of your input dataset, segmentation maps, and fine-tuned models, and other configurations.
python generate_refined_data.py
Below are sample outputs comparing the original synthetic images from VKITTI with their enhanced versions using segmentation-guided ControlNet:

Additionally, we have uploaded the fine-tuned Stable Diffusion model on the real-world KITTI dataset for public access. Finetuned stable diffusion model Dataset: Refined Version of VKITTI Dataset Access
Download or explore the ControlNet models used in this project:
We employed the YOLOv8 model for object detection and demonstrated improved performance on the refined VKITTI dataset compared to the original dataset. The refined dataset improved the mAP50 from 0.434 to 0.643, validating its effectiveness.
| Dataset | mAP50 |
|---|---|
| Original VKITTI | 0.434 |
| Refined VKITTI | 0.643 |
Using a U-Net-based model, the refined VKITTI dataset led to a decrease in RMSE from 0.3121 to 0.2226, demonstrating enhanced accuracy in depth estimation.
| Dataset | RMSE |
|---|---|
| Original VKITTI | 0.3121 |
| Refined VKITTI | 0.2226 |
If you use this code or dataset for your research, please cite our papers.
No description, website, or topics provided.
62 commits
Python
100.0%
Iqra Nosheen, Cathy Ennis, Michael G. Madden.
This project focuses on enhancing the realism of synthetic datasets for autonomous vehicle applications. We integrate a segmentation-guided ControlNet with Stable Diffusion fine-tuned on the KITTI dataset to bridge the domain gap between synthetic and real-world data, improving the realism and usability of synthetic data for downstream tasks like object detection and depth estimation.
The following block diagram illustrates the core components of our pipeline:

For training, we followed the approach outlined in this GitHub repository, which focuses on fine-tuning Stable Diffusion using LoRA (Low-Rank Adaptation) and ControlNet for few-shot image transfer.
Install Dependencies: Make sure your Python environment is activated. Then install the required packages, set the dataset path and configure hyper-parameters in the my_experiment.yaml file in the configs folder
pip install -r requirements.txt
python train.py
Set the path of your input dataset, segmentation maps, and fine-tuned models, and other configurations.
python generate_refined_data.py
Below are sample outputs comparing the original synthetic images from VKITTI with their enhanced versions using segmentation-guided ControlNet:

Additionally, we have uploaded the fine-tuned Stable Diffusion model on the real-world KITTI dataset for public access. Finetuned stable diffusion model Dataset: Refined Version of VKITTI Dataset Access
Download or explore the ControlNet models used in this project:
We employed the YOLOv8 model for object detection and demonstrated improved performance on the refined VKITTI dataset compared to the original dataset. The refined dataset improved the mAP50 from 0.434 to 0.643, validating its effectiveness.
| Dataset | mAP50 |
|---|---|
| Original VKITTI | 0.434 |
| Refined VKITTI | 0.643 |
Using a U-Net-based model, the refined VKITTI dataset led to a decrease in RMSE from 0.3121 to 0.2226, demonstrating enhanced accuracy in depth estimation.
| Dataset | RMSE |
|---|---|
| Original VKITTI | 0.3121 |
| Refined VKITTI | 0.2226 |
If you use this code or dataset for your research, please cite our papers.
No description, website, or topics provided.
62 commits
Python
100.0%