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
Support ChainerX in CIFAR example #6936
Conversation
examples/cifar/README.md
Outdated
``` | ||
|
||
TODO: Fix it. |
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.
What does this mean? Maybe you forgot to remove it?
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.
Oops, I remove this line.
@@ -102,9 +109,7 @@ def main(): | |||
optimizer.lr *= 0.5 | |||
print('Reducing learning rate to: {}'.format(optimizer.lr)) | |||
|
|||
x_array, t_array = convert.concat_examples(batch, args.gpu) | |||
x = chainer.Variable(x_array) | |||
t = chainer.Variable(t_array) |
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.
Just to be clear, this is just a nonessential code improvement, right?
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.
Yes. (Actually, I thought that it is necessary changes, but I found it unnecessary after I send this PR.)
dced8b9
to
eff764a
Compare
Jenkins, test this please |
Jenkins, test this please |
Jenkins CI test (for commit eff764a, target branch master) failed with status FAILURE. |
Jenkins, test this please |
Jenkins CI test (for commit eff764a, target branch master) failed with status FAILURE. |
Jenkins, test this please |
Jenkins CI test (for commit eff764a, target branch master) failed with status FAILURE. |
LGTM |
Support ChainerX in CIFAR example
Part of #6661