image-similarity-deep-ranking icon indicating copy to clipboard operation
image-similarity-deep-ranking copied to clipboard

Typo in Lambda layer

Open Witiko opened this issue 6 years ago • 1 comments

Line 28 of deepRanking.py contains the following:

x = Lambda(lambda x_: K.l2_normalize(x,axis=1))(x)

Should not we be passing x_ rather than x to K.l2_normalize?

Witiko avatar Nov 06 '18 16:11 Witiko

yep, using that code we were receiving many strange errors during training phase. removing the underscore solved the problem for us

elenaterenzi avatar Jan 03 '19 15:01 elenaterenzi