프로젝트
GitHub에서 보기
weberwcwei/AODnet-by-pytorch
소개
Image Dehaze, Pytorch, An All-in-One Network for Dehazing, AOD-Net
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAOD-Net by Pytorch
This project implements the AOD-Net : All-in-One Network for Dehazing for image dehazing using Python and PyTorch. The model is capable of removing haze, smoke, and water impurities from images."
The repository includes:
- Source code of AOD-Net
- Building code for synthesized hazy images based on NYU Depth V2
- Training code for our hazy dataset
- Pre-trained model for AOD-Net
Requirements
Python 3.6, Pytorch 0.4.0 and other common packages
NYU Depth V2
To build synthetic hazy dataset, you'll also need:
- Download NYU Depth V2 labeled dataset
Training Part
Dateset Setup
- Clone this repository
- Create dataset from the repository root directory
$ cd make_dataset $ python create_train.py --nyu {Your NYU Depth V2 path} --dataset {Your trainset path} - Random pick 3,169 pictures as validation set
$ python random_select.py --traindir {Your trainset path} --valdir {Your valset path}
Start to training
- training AOD-Net
$ python train.py --dataroot {Your trainset path} --valDataroot {Your valset path} --cuda
Testing Part
- test hazy image on AOD-Net
$ python test.py --input_image /test/canyon1.jpg --model /model_pretrained/AOD_net_epoch_relu_10.pth --output_filename /result/canyon1_dehaze.jpg --cuda
관련 프로젝트 살펴보기
불러오는 중…