hezhangsprinter / DCPDN

Densely Connected Pyramid Dehazing Network (CVPR'2018)
401 stars 112 forks source link

what is the "A" in create_train.py? #16

Closed frankgwo closed 6 years ago

frankgwo commented 6 years ago

Hi! I am going through your code and trying to generate my own training data, but now meeting a problem in create_train.py. In line 119, there is a undefined parameter "A", which makes me a little confused. rep_atmosphere = np.tile(np.reshape(A, [1, 1, 3]), [m, n, 1]) Hope you can help me out. Thank you!

frankgwo commented 6 years ago

Solved. Maybe you missed out a line of code? like: A = np.tile(a,3)