Open luozhiping opened 8 months ago
change input param to self.encoder(encoder_input, pos_embed=pos_embed, mask=is_pad) and then got this error: : forward() missing 1 required positional argument: 'query_embed'
is there any wrong here? actually it should be encoder = build_encoder(args)
Thanks @luozhiping
Did just that and it seems to be training now !
in detr/models/detr_vae.py at line 285 change build_transformer
to build_encoder
Thanks @luozhiping
Did just that and it seems to be training now !
in detr/models/detr_vae.py at line 285 change
build_transformer
tobuild_encoder
This works for me as well!
这里有什么错误吗?实际上应该是encoder = build_encoder(args)
Thank you!That's right for me!
param error use imitate_episodes.py to train model.
Are there any code updated haven't pushed?