Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Typo in Lambda layer #29

Open
Witiko opened this issue Nov 6, 2018 · 1 comment
Open

Typo in Lambda layer #29

Witiko opened this issue Nov 6, 2018 · 1 comment

Comments

@Witiko
Copy link

Witiko commented Nov 6, 2018

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 Witiko changed the title A typo in Lambda layer Typo in Lambda layer Nov 6, 2018
@elenaterenzi
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants