1

我怎样才能在我的电脑上运行这个例子?我没有 Nvidia 显卡,所以我不能在 Matlab 中使用 Cuda。

我需要用 Matlab 来做,因为我的代码有一半是用 Matlab 编写的,并且所有变量都是 Matlab 格式。

我的电脑有 ATI Radeon HD 4530 显卡。

我阅读了这一页,但仍然难以理解哪一个是合适的。

Update1:​​我想训练一个用于图像分类的深度神经网络。与此示例类似的任务。

Update2:当我运行 Update1 中提到的代码时,它给了我以下错误:

There is a problem with the CUDA driver or with this GPU device. Be sure that you have a supported GPU and that the
latest driver is installed.

Error in nnet.internal.cnn.SeriesNetwork/activations (line 48)
            output = gpuArray(data);

Error in SeriesNetwork/activations (line 269)
                YChannelFormat = predictNetwork.activations(X, layerID);

Error in DeepLearningImageClassificationExample (line 262)
trainingFeatures = activations(convnet, trainingSet, featureLayer, ...

Caused by:
    The CUDA driver could not be loaded. The library name used was 'nvcuda.dll'. The error was:
    The specified module could not be found.
4

2 回答 2

0

MatConvNet -> 在 CPU 和 GPU 上工作

MatConvNet是一个 MATLAB 工具箱,用于实现用于计算机视觉应用的卷积神经网络 (CNN)。它简单、高效,可以运行和学习最先进的 CNN。许多用于图像分类、分割、人脸识别和文本检测的预训练 CNN 可用。

另一种选择:一般的Caffe和特别是 caffe 的 Openmp 变体支持 Matlab 并在 CPU 和 GPU 上工作

于 2016-05-18T11:04:09.973 回答
0

是的你可以。您必须创建 DLL 并使用 OpenCL。查看 S-Functions 和 Mex。

检查文档

您可以使用一些第三方工具。我个人从未尝试过。

可能的工具

于 2016-05-16T21:37:07.833 回答