Configure multiple GPU for training in Python

386 views
Skip to first unread message

Hongmin Wang

unread,
May 12, 2016, 12:37:38 AM5/12/16
to Caffe Users
Caffe supports multi-GPU training by setting the "-gpu" argument with multiple device IDs in the command line interface.

Does anyone know how to specify multiple GPUs in Python for training? (e.g.caffe.set_device(GPU_ID)) 
i.e. instead of writing solver and network descriptions into .prototxt files, training with command line, and then testing with Python, can we do all these by just running one python script, for training on multiple GPUs?

Thank you!

Jeremy Rutman

unread,
Aug 9, 2016, 5:51:23 AM8/9/16
to Caffe Users
I second this question
Reply all
Reply to author
Forward
0 new messages