Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Fix use_gpu in examples #371

Merged
merged 1 commit into from
Aug 6, 2017
Merged

Conversation

Hakuyume
Copy link
Member

@Hakuyume Hakuyume commented Aug 3, 2017

examples/segnet/eval_camvid.py fails if args.gpu > 0. I fixed this bug by adding chainer.cuda.get_device(args.gpu).use(). Other modifications are only for consistency.

@yuyu2172
Copy link
Member

yuyu2172 commented Aug 6, 2017

LGTM

@yuyu2172 yuyu2172 self-assigned this Aug 6, 2017
@yuyu2172 yuyu2172 added the bug label Aug 6, 2017
@yuyu2172 yuyu2172 added this to the v0.7 milestone Aug 6, 2017
@yuyu2172 yuyu2172 merged commit d7e6a81 into chainer:master Aug 6, 2017
@Hakuyume Hakuyume deleted the fix-use-gpu-in-examples branch October 21, 2017 01:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants