Skip to content

ntmy777/DehazeDET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DehazeDET: Deep Image Dehazing for Improving Object Detection

Overview

DehazeDET is a novel dual-branch architecture that integrates the DSEU model (https://github.com/yeanwei97/DSEU) for image restoration and the Mix-YOLONet detection network for object detection into a joint parallel framework.

Features

  • Training: Train the model using train.py.
  • Testing: Test the model's performance using train.py --test.
  • Inference: Perform inference on a single image or an entire folder of images.
  • Data Conversion: Convert various datasets (VOC, Foggy Driving, RTTS) to the required format.

Dataset

Usage

Training

To train the model, run:

python train.py

Testing

To test the model, run:

python train.py --test --data your_dataset

Inference

To perform inference on a single image, run:

python train.py --inference --image_path path_to_your_image

To perform inference on an entire folder of images, run:

python train.py --inference_test --model_path your_model --inference_input your_input_image

Data Conversion

Convert VOCFOG dataset:

python voctoyolo.py 

Convert Foggy Driving dataset:

python foggytovoc.py 

Convert RTTS dataset:

python rttstovoc.py 

Configuration

Modify the args.yaml file to change training parameters and other settings.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages