-
Notifications
You must be signed in to change notification settings - Fork 76
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
Run recognize_digits and understand_sentiment demo with fault tolerant mode. #343
Conversation
@Yancey1989 先帮我看下配置是否有问题?先不要approve. |
demo/recognize_digits/train_ft.py
Outdated
|
||
|
||
# NOTE: must change this to your own username on paddlecloud. | ||
USERNAME = "wanghaoshuang@baidu.com" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not use specific username.
demo/recognize_digits/train_ft.py
Outdated
8192, "train") | ||
common.convert(TEST_FILES_PATH, | ||
paddle.dataset.mnist.test(), | ||
1, "test") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line_count=1
is so small, this will generate too much small files..
GPU mode error: File "./train_ft.py", line 169, in <module>
main()
File "./train_ft.py", line 117, in main
predict = convolutional_neural_network(images)
File "./train_ft.py", line 86, in convolutional_neural_network
act=paddle.activation.Relu())
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/default_decorators.py", line 53, in __wrapper__
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/networks.py", line 228, in simple_img_conv_pool
layer_attr=pool_layer_attr)
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/default_decorators.py", line 53, in __wrapper__
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/layers.py", line 381, in wrapper
return method(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/layers.py", line 2612, in img_pool_layer
"only (Cudnn)AvgPooling, (Cudnn)MaxPooling are supported"
AssertionError: only (Cudnn)AvgPooling, (Cudnn)MaxPooling are supported |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The bug when running on paddle cloud will be fixed soon. Merge this first.
fix #342