GLAMOR-USC/teach_tatc

Invalid line in transformer.py

terateil opened this issue · 2 comments

Hello, I guess I found small error in the code. In line 218,

losses["object"] = object_loss * self.args.object_loss_wt

I get error that there is no such argument object_loss_wt, while training the ET model.

In the config file

# weight of object loss
action_aux_loss_wt = 1.0

So I guess the object_loss_wt in line 218 should be replaced with action_aux_loss_wt.
Thanks!

Yes you're right, line 218 should be losses["object"] = object_loss * self.args.action_aux_loss_wt.

Thanks for your reply!