Skip to content

Commit

Permalink
Modification of multibox-The operation is applied on Conv4-3 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
astorfi authored and amdegroot committed Feb 15, 2018
1 parent 4701d83 commit afebb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def add_extras(cfg, i, batch_norm=False):
def multibox(vgg, extra_layers, cfg, num_classes):
loc_layers = []
conf_layers = []
vgg_source = [24, -2]
vgg_source = [21, -2]
for k, v in enumerate(vgg_source):
loc_layers += [nn.Conv2d(vgg[v].out_channels,
cfg[k] * 4, kernel_size=3, padding=1)]
Expand Down

0 comments on commit afebb30

Please sign in to comment.