mxnetGPU不能使用


ImportError Traceback (most recent call last)
in ()
----> 1 from mxnet import nd
2 x = nd.array([1,2,3])
3 x.context

ImportError: cannot import name 'nd’
在卸载了mxnet的cpu之后,安装GPU之后就不能用了,安装了cuda8的,
Name: mxnet-cu80
Version: 1.2.0b20180327
Summary: MXNet is an ultra-scalable deep learning framework. This version uses CUDA-8.0.
Home-page: https://github.com/dmlc/mxnet
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache 2.0
Location: c:\ana\envs\gluon\lib\site-packages
Requires: requests, graphviz, numpy

感觉是没卸载完,加载了不正确的库

在conda中用着命令pip uninstall mxnet,显示Cannot uninstall requirement mxnet, not installed,难道还有其他的库没有卸载吗

可以试着卸载重装下,我上次有问题卸载重装就好了

Name: mxnet
Version: 1.2.0b20180327
Summary: MXNet is an ultra-scalable deep learning framework. This version uses openblas.
Home-page: https://github.com/dmlc/mxnet
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache 2.0
Location: c:\ana\envs\gluon\lib\site-packages
Requires: graphviz, requests, numpy
Name: mxnet-cu80
Version: 1.2.0b20180327
Summary: MXNet is an ultra-scalable deep learning framework. This version uses CUDA-8.0.
Home-page: https://github.com/dmlc/mxnet
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache 2.0
Location: c:\ana\envs\gluon\lib\site-packages
Requires: requests, graphviz, numpy

这是我从新安装之后的,许亚萍卸载哪个啊

使用GPU计算时没有反应,也没有报错,这是什么问题啊

不是应该这样测试吗?
import mxnet as mx
a = mx,nd.array([1,2,3],mx.gpu())
print(a)

我就是mxnet整个卸载重装,GPU没有反应,也没报错,看看是不是kindasusenne提到的问题

您好,我也遇到了这个问题,请问您最终是怎么解决的