lichen11 commented on issue #13859: Newly updated Makefile generate path errors
URL: 
https://github.com/apache/incubator-mxnet/issues/13859#issuecomment-461555956
 
 
   Thanks. I removed the folders and installed new mxnet. 
   I am following the example 
https://mxnet.incubator.apache.org/versions/master/tutorials/r/mnistCompetition.html
 but I trained with two GPUs using
   
   model <- mx.model.FeedForward.create(lenet, X=train.array, y=train.y,
                                        ctx=list(mx.gpu(0), mx.gpu(1)), 
num.round=100, array.batch.size=100,
                                        learning.rate=0.05, momentum=0.9, 
wd=0.00001,
                                        eval.metric=mx.metric.accuracy,
                                        
epoch.end.callback=mx.callback.log.train.metric(100))
   
   I received the following error:
   Auto-select kvstore type = local_update_cpu
   Start training with 2 devices
   Error in kvstore$set.optimizer(optimizer) : 
     kvstore.cc:124: RCheck failed: names.size() == 2 && names[0] == 
"create.state" && names[1] == "update" Invalid optimizer
   
   I checked using either GPU, I am able to run the code without error. Does 
mxnet R automatically support multiple GPUs?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to