AttributeError: 'Loss' object has no attribute 'pconf2'
Closed this issue · 2 comments
mymrblack commented
Hi, I am trying to run inference.py
, but met with an error:
AttributeError: 'Loss' object has no attribute 'pconf2'
It comes from loss.py
, line 262:
new_t = torch.sum(Kp_fr * self.pconf2, dim=1).view(1, 3).contiguous()
self.pconf2
could not be found.
I saw there is a self.pconf
in __init__
, dose line 262 should be change to self.pconf
?
j96w commented
Hi, thanks for mention this bug. We have fixed it in the latest update. Please check it out.
mymrblack commented
Hi, thanks for mention this bug. We have fixed it in the latest update. Please check it out.
Thank you.