-
Notifications
You must be signed in to change notification settings - Fork 14
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
Benchmark convnet model tf #6
Benchmark convnet model tf #6
Conversation
|
||
import numpy as np | ||
import paddle.v2 as paddle | ||
import paddle.v2.fluid.profiler as profiler |
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.
In the TensorFlow, need to remove paddle.v2.fluid.profiler
.
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.
done
with tf.control_dependencies(update_ops): | ||
train_op = optimizer.minimize(avg_cost) | ||
|
||
train_reader = paddle.batch( |
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.
在TF里也打算用Paddle的reader吗?
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.
对,tf里边用的都是Paddle的reader,这样方便对比计算的性能
project: PaddlePaddle/Paddle#6024
fix: PaddlePaddle/Paddle#6109