You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I know this project is a bit older, but I just read this part in the original paper and am kind of confused by it:
I saw that you are projecting the Z vectors on the L2 unit sphere during initialisation (although you commented it out), but are you also doing it after every GLO update? I could not find that piece of code. Also, do you know what is the intuition behind doing this?
This is in model.py on line 13:
def _project_to_l2_ball(z):
# return z / np.maximum(np.sqrt(np.sum(z**2, axis=1))[:, None], 1)
# return z / np.sqrt(np.sum(z**2, axis=1))[:, None]
# return z / np.max(np.sqrt(np.sum(z**2, axis=1))[:, None])
return z
Thank you :)
The text was updated successfully, but these errors were encountered:
Hi, I know this project is a bit older, but I just read this part in the original paper and am kind of confused by it:
I saw that you are projecting the Z vectors on the L2 unit sphere during initialisation (although you commented it out), but are you also doing it after every GLO update? I could not find that piece of code. Also, do you know what is the intuition behind doing this?
This is in
model.py
on line 13:Thank you :)
The text was updated successfully, but these errors were encountered: