update code for ci pass

This commit is contained in:
dong-hyun 2024-08-02 15:14:40 +09:00
parent 7a866b6521
commit 6fdc9d8243

View File

@ -247,7 +247,7 @@ class RDNet(nn.Module):
]
dense_stages.append(nn.Sequential(*dense_stage_layers))
self.dense_stages = nn.Sequential(*dense_stages)
self.num_features = num_features
self.num_features = self.head_hidden_size = num_features
# if head_norm_first == true, norm -> global pool -> fc ordering, like most other nets
# otherwise pool -> norm -> fc, the default RDNet ordering (pretrained NV weights)