Skip to content

Commit

Permalink
[style] rename RepConv to RepVGGBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
hglee98 committed Nov 14, 2024
1 parent 10931a9 commit da7bc40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

from ...utils import BackboneOutput
from ...op.registry import ACTIVATION_REGISTRY
from ...op.custom import RepConv, ConvLayer, CSPRepLayer
from ...op.custom import RepVGGBlock, ConvLayer, CSPRepLayer


# transformer
Expand Down
2 changes: 1 addition & 1 deletion src/netspresso_trainer/models/op/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ def __init__(self,
self.conv1 = ConvLayer(in_channels, hidden_channels, kernel_size=1, stride=1, bias=bias, act_type=act)
self.conv2 = ConvLayer(in_channels, hidden_channels, kernel_size=1, stride=1, bias=bias, act_type=act)
self.bottlenecks = nn.Sequential(*[
RepConv(hidden_channels, hidden_channels, act_type=act) for _ in range(num_blocks)
RepVGGBlock(hidden_channels, hidden_channels, act_type=act) for _ in range(num_blocks)
])
if hidden_channels != out_channels:
self.conv3 = ConvLayer(hidden_channels, out_channels, kernel_size=1, stride=1, bias=bias, act_type=act)
Expand Down

0 comments on commit da7bc40

Please sign in to comment.