zhilin007 / FFA-Net

FFA-Net: Feature Fusion Attention Network for Single Image Dehazing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

code in main.py

wushunshun opened this issue · comments

code in main.py 19th line
why mean=[0.45627367, 0.38360259, 0.36426624]#clear?
how to calculate mean?
thank you!

This is a redundant line in our project,it will be deleted later. 'mean' meaning to calculate the mean of RGB channels. You can use 'mean=np.mean(imgs,axis=(0,1,2))' to do that.