Skip to content

Commit

Permalink
fix 'VGG' object has no attribute 'vgg_layers'
Browse files Browse the repository at this point in the history
  • Loading branch information
pesekon2 committed Aug 27, 2023
1 parent 7519687 commit cd0afd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/architectures.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ def __init__(self, *args, depth=16, include_top=True,

super(VGG, self).__init__(*args, **kwargs)

self.instantiate_layers()
self.vgg_layers = self.instantiate_layers()


def call(self, inputs, training=None, mask=None):
Expand Down

0 comments on commit cd0afd6

Please sign in to comment.