Skip to content

Commit d4bec3a

Browse files
svekarsjbschlosser
andauthored
Update beginner_source/Pretraining_Vgg_from_scratch.py
Co-authored-by: Joel Schlosser <[email protected]>
1 parent ef33eaa commit d4bec3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beginner_source/Pretraining_Vgg_from_scratch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ def make_feature_extractor(cfg_c,cfg_k):
289289

290290
class Model_vgg(nn.Module) :
291291
# def __init__(self,version , num_classes):
292-
def __init__(self,conf_channels,conf_kernels , num_classes):
293-
conv_5_out_w ,conv_5_out_h = 7,7
292+
def __init__(self, conf_channels, conf_kernels, num_classes):
293+
conv_5_out_w, conv_5_out_h = 7, 7
294294
conv_5_out_dim =512
295295
conv_1_by_1_1_outchannel = 4096
296296
conv_1_by_1_2_outchannel = 4096

0 commit comments

Comments
 (0)