Skip to content

AttributeError: 'vgg16' object has no attribute 'drop_prob' #1

@2501231120

Description

@2501231120

Hello, the author, I used your program after the following error occurred, I would like to ask how to solve this problem.

Traceback (most recent call last):
File "bcnn.py", line 293, in
vgg = vgg16(imgs, 'vgg16_weights.npz', sess, isFineTune, drop_prob)
File "bcnn.py", line 48, in init
self.fc_layers()
File "bcnn.py", line 251, in fc_layers
tf.contrib.layers.dropout(fcw,self.drop_prob)),
AttributeError: 'vgg16' object has no attribute 'drop_prob'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions