From 75e775c5bb4b3ce0f9a95d82ff3689b768ab2e46 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Wed, 11 Dec 2024 01:55:00 +0900 Subject: [PATCH] chore: update upn_decoder.py excute -> execute --- chatrex/upn/models/decoder/upn_decoder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatrex/upn/models/decoder/upn_decoder.py b/chatrex/upn/models/decoder/upn_decoder.py index d1f9698..dec0f17 100644 --- a/chatrex/upn/models/decoder/upn_decoder.py +++ b/chatrex/upn/models/decoder/upn_decoder.py @@ -15,7 +15,7 @@ class DeformableTransformerDecoderLayer(nn.Module): """Deformable Transformer Decoder Layer. This is a modified version in Grounding DINO. After the query is attented to the image feature, it is further attented to the text feature. - The excute order is: self_attn -> cross_attn to text -> cross_attn to image -> ffn + The execute order is: self_attn -> cross_attn to text -> cross_attn to image -> ffn Args: d_model (int): The dimension of keys/values/queries in :class:`MultiheadAttention`. d_ffn (int): The dimension of the feedforward network model. @@ -145,7 +145,7 @@ def forward( @DECODERS.register_module() class UPNDecoder(nn.Module): """Decoder used in UPN. Each layer is a DeformableTransformerDecoderLayer. The query - will be abled to attend the image feature and text feature. The excute order is: + will be abled to attend the image feature and text feature. The execute order is: self_attn -> cross_attn to image -> ffn Args: