You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/10 13:09:24 UTC

[GitHub] jasperDD commented on issue #14104: Error in mx.nd.internal.empty.array(shape, ctx) : [14:58:38] C:\Jenkins\workspace\mxnet\mxnet\src\storage\storage.cc:137: Compile with USE_CUDA=1 to enable GPU usage in R

jasperDD commented on issue #14104: Error in mx.nd.internal.empty.array(shape, ctx) :    [14:58:38] C:\Jenkins\workspace\mxnet\mxnet\src\storage\storage.cc:137: Compile with USE_CUDA=1 to enable GPU usage in R
URL: https://github.com/apache/incubator-mxnet/issues/14104#issuecomment-462131508
 
 
   I understood what the problem. I don't have Nvidia card, so i must use MXnet only CPU and not GPU
   like this
   model <- mx.model.FeedForward.create(
     X                  = train,
     eval.data          = val,
     ctx                = **mx.cpu()**,
     symbol             = captcha_net,
     eval.metric        = mx.metric.acc2,
     num.round          = 10,
     learning.rate      = 0.0001,
     momentum           = 0.9,
     wd                 = 0.00001,
     batch.end.callback = mx.callback.log.train.metric(50),
     initializer        = mx.init.Xavier(factor_type = "in", magnitude = 2.34),
     optimizer          = "sgd",
     clip_gradient = 10
   )

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services