mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
update code for ci pass
This commit is contained in:
parent
7a866b6521
commit
6fdc9d8243
@ -247,7 +247,7 @@ class RDNet(nn.Module):
|
|||||||
]
|
]
|
||||||
dense_stages.append(nn.Sequential(*dense_stage_layers))
|
dense_stages.append(nn.Sequential(*dense_stage_layers))
|
||||||
self.dense_stages = nn.Sequential(*dense_stages)
|
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
|
# 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)
|
# otherwise pool -> norm -> fc, the default RDNet ordering (pretrained NV weights)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user