Skip to content

Commit

Permalink
Merge pull request #2 from Silver-Whiskey/main
Browse files Browse the repository at this point in the history
VGG16 is working now
  • Loading branch information
Behnam Neyshabur authored Aug 13, 2021
2 parents 3d5cccb + b0072ab commit 9e6774b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/models/vgg.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def vgg16(nchannels=3, **kwargs):
Args:
pretrained (bool): If True, returns a model pre-trained on ImageNet
"""
model = VGG(make_layers(cfg['D']), nchannels=nchannels, **kwargs)
model = VGG(make_layers(cfg['D'], nchannels=nchannels), **kwargs)
return model


Expand Down

0 comments on commit 9e6774b

Please sign in to comment.