未验证 提交 a18c8113 编写于 作者: L LokeZhou 提交者: GitHub

support deformable_detr amp (#8011)

上级 a08a3f2d
...@@ -450,7 +450,8 @@ class DeformableTransformer(nn.Layer): ...@@ -450,7 +450,8 @@ class DeformableTransformer(nn.Layer):
temperature=pe_temperature, temperature=pe_temperature,
normalize=True if position_embed_type == 'sine' else False, normalize=True if position_embed_type == 'sine' else False,
embed_type=position_embed_type, embed_type=position_embed_type,
offset=pe_offset) offset=pe_offset,
eps=1e-4)
self._reset_parameters() self._reset_parameters()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册