-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
add resnet #5206
add resnet #5206
Conversation
batch_id = batch_id + 1 | ||
|
||
if batch_id > 1: | ||
if batch_id > 10: |
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.
The following comment tells that two minibatches is sufficient to make the test conclusion. Should we change the comment as well?
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.
reverted to 2, 10 is for self-test.
@@ -75,8 +189,11 @@ def conv_block(input, | |||
data_type='int64', | |||
program=program, | |||
init_program=init_program) | |||
vgg_net = vgg16_bn_drop(images, program, init_program) | |||
predict = layers.fc(input=vgg_net, | |||
# net = vgg16_bn_drop(images, program, init_program) |
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 we need a comment to hint the users switch between VGG and ResNet?
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
project: #4531