Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2501231120 opened this issue Apr 19, 2019 · 0 comments
Open

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

2501231120 opened this issue Apr 19, 2019 · 0 comments

Comments

@2501231120
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant