This repository was archived by the owner on Nov 17, 2023. It is now read-only.
GPU is not enabled #20480
Unanswered
tripleaamin
asked this question in
Q&A
GPU is not enabled
#20480
Replies: 1 comment
-
@tripleaamin Could you give a little more information about your running environment? That will help us a little to diagnose your issue.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I get the following error even though I am working with a GPU. Does anyone have a possible thought as to why I get this error?
Traceback (most recent call last):
File "inference.py", line 242, in
main()
File "inference.py", line 170, in main
net.collect_params().reset_ctx(context)
File "/ext3/py3.6/lib/python3.6/site-packages/mxnet/gluon/parameter.py", line 932, in reset_ctx
i.reset_ctx(ctx)
File "/ext3/py3.6/lib/python3.6/site-packages/mxnet/gluon/parameter.py", line 490, in reset_ctx
self._init_impl(data, ctx)
File "/ext3/py3.6/lib/python3.6/site-packages/mxnet/gluon/parameter.py", line 365, in _init_impl
self._data = [data.copyto(ctx) for ctx in self._ctx_list]
File "/ext3/py3.6/lib/python3.6/site-packages/mxnet/gluon/parameter.py", line 365, in
self._data = [data.copyto(ctx) for ctx in self._ctx_list]
File "/ext3/py3.6/lib/python3.6/site-packages/mxnet/ndarray/ndarray.py", line 2666, in copyto
return _internal._copyto(self, out=hret)
File "", line 27, in _copyto
File "/ext3/py3.6/lib/python3.6/site-packages/mxnet/_ctypes/ndarray.py", line 91, in _imperative_invoke
ctypes.byref(out_stypes)))
File "/ext3/py3.6/lib/python3.6/site-packages/mxnet/base.py", line 246, in check_call
raise get_last_ffi_error()
mxnet.base.MXNetError: Traceback (most recent call last):
File "../src/ndarray/ndarray.cc", line 1298
MXNetError: GPU is not enabled
Beta Was this translation helpful? Give feedback.
All reactions