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
another bug by myself: out_images, _ = zip(*sorted(zip(out_images, scores), key=lambda x: -x[1]))
should be out_images, _ = zip(*sorted(zip(out_images, scores), key=lambda x: x[1]))
as these are ce (or ppl in latest version) not cosine sim.
sorry!
The text was updated successfully, but these errors were encountered:
another bug by myself:
out_images, _ = zip(*sorted(zip(out_images, scores), key=lambda x: -x[1]))
should be
out_images, _ = zip(*sorted(zip(out_images, scores), key=lambda x: x[1]))
as these are ce (or ppl in latest version) not cosine sim.
sorry!
The text was updated successfully, but these errors were encountered: