This function is called in line 157 by :
inv_attr = self.sample_train_affordance(attr, obj) # attribute for inverse regularizer comm_attr = self.sample_affordance(inv_attr, obj) # attribute for commutative regularizer
But inv_attr is the id of an attribute and in function sample_affordance it is getting compared with the name of the attribute which seems to be problematic. Can you have a look into this?
Thanks a lot for your beautiful work. While looking into the repository I got confused with something. In data/dataset.py for commutative reguralizer:
This function is called in line 157 by :
inv_attr = self.sample_train_affordance(attr, obj) # attribute for inverse regularizer comm_attr = self.sample_affordance(inv_attr, obj) # attribute for commutative regularizer
But inv_attr is the id of an attribute and in function sample_affordance it is getting compared with the name of the attribute which seems to be problematic. Can you have a look into this?