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/09 12:06:00 UTC
[GitHub] jasperDD opened a new 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 opened a new 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
I run this script for captcha recognition in R (windows machine)
mx.set.seed(42)
model <- mx.model.FeedForward.create(
X = train,
eval.data = val,
ctx = mx.gpu(),
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
)
Then, it returns error
[14:58:38] c:\jenkins\workspace\mxnet\mxnet\src\operator\tensor\./matrix_op-inl.h:166: Using target_shape will be deprecated.
Start training with 1 devices
[14:58:38] c:\jenkins\workspace\mxnet\mxnet\src\operator\tensor\./matrix_op-inl.h:166: Using target_shape will be deprecated.
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
>
What;s wrong and how to fix it?
----------------------------------------------------------------
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