-
Couldn't load subscription status.
- Fork 617
Closed
Labels
Description
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Google Colab (Linux)
- TensorFlow version and how it was installed (source or binary): binary 2.0
- TensorFlow-Addons version and how it was installed (source or binary): binary 0.6.0
- Python version: 3
- Is GPU used? (yes/no): Yes
Describe the bug
I get an assert shape error when I try to initialize the LiftedStructLoss obj
assert lshape.shape == 1 AssertionError is the error I get. However, it can easily be resolved by removing the assert line. I have one more question, why does it say that the vector should not be l2 normalized? while in the case of semihardtriplet loss it says that the vector should be l2 normalized
Code to reproduce the issue
import tensorflow_addons as tfa
tfa.losses.LiftedStructLoss()