You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Traceback (most recent call last):
File "train.py", line 91, in <module>
main()
File "train.py", line 37, in main
net = vgg_bn_drop(image)
File "/home/lizhao/book/03.image_classification/vgg.py", line 40, in vgg_bn_drop
drop = paddle.networks.dropout(input=conv5, dropout_rate=0.5)
AttributeError: 'module' object has no attribute 'dropout'
https://github.com/PaddlePaddle/book/blob/develop/03.image_classification/vgg.py#L40
According to
https://github.com/PaddlePaddle/Paddle/blob/0beda8736ffcac80a95bea20f873d8972d2b5b5e/doc/api/v2/config/networks.rst#dropout_layer
This line should be
The text was updated successfully, but these errors were encountered: