Skip to content

Commit

Permalink
removed extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
klemen1999 committed Sep 28, 2024
1 parent 30ae9da commit faf6e63
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions luxonis_train/nodes/necks/reppan_neck/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,6 @@ def __init__(
def encode_block(self) -> nn.Module:
return self._encode_block

def forward(self, x0: Tensor, x1: Tensor) -> Tensor:
x = self.downsample(x0)
x = torch.cat([x, x1], dim=1)
x = self.encode_block(x)
return x


class CSPDownBlock(PANDownBlockBase):
def __init__(
Expand Down Expand Up @@ -279,9 +273,3 @@ def __init__(
@property
def encode_block(self) -> nn.Module:
return self._encode_block

def forward(self, x0: Tensor, x1: Tensor) -> Tensor:
x = self.downsample(x0)
x = torch.cat([x, x1], dim=1)
x = self.encode_block(x)
return x

0 comments on commit faf6e63

Please sign in to comment.