ZhiyuTan88
ZhiyuTan88
the number of category is different also
Your idea is right. I modify codes which can training with each worker(replica) corresponding to one GPU, it works for this issue.
I think you should define solver.prototxt like this : solver_mode:GPU and device_id:1 good luck :)
you can first check the GPU that can available by "nvidia-smi", then you will know the "available idx" , and set "device_id:available idx"