swz30 / MIRNet

[ECCV 2020] Learning Enriched Features for Real Image Restoration and Enhancement. SOTA results for image denoising, super-resolution, and image enhancement.
Other
667 stars 96 forks source link

Zero division error #16

Closed nivetha-123 closed 3 years ago

nivetha-123 commented 3 years ago

while running test_enhancement.py code it occured an error at psnr_val_rgb = sum(psnr_val_rgb)/len(psnr_val_rgb) line as zero division error. how can i solve this.Thank you in advance.

swz30 commented 3 years ago

Hi @nivetha-123

It seems that the dataset directory is empty. Please make sure the dataset path is correct.