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
However, in detr_vae.py, the action_head uses only hs[0] as input. This means the action is predicted based only on the first decorder feature with shape [1, B, num_query, C], but ignores all the other following features:
Hi, thanks for the amazing work! Recently, I tried to reimplement your code. However, I found something strange.
Especially, the forward of
Transformer
class in transformer.py only returnshs
,which is a tensor with shape[Decoder block num, B, num_query, C]
:act/detr/models/transformer.py
Line 77 in 742c753
However, in detr_vae.py, the
action_head
uses onlyhs[0]
as input. This means the action is predicted based only on the first decorder feature with shape[1, B, num_query, C]
, but ignores all the other following features:act/detr/models/detr_vae.py
Line 131 in 742c753
act/detr/models/detr_vae.py
Line 136 in 742c753
So, this is strange for me and I wonder if this is a bug. Hoping for your reply! Thanks in advance~
The text was updated successfully, but these errors were encountered: