使用AMD显卡在Matlab上进行深度学习



如何在电脑中运行此示例?我没有Nvidia显卡,所以我不能在Matlab中使用Cuda。

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

我的电脑有ATI Radeon HD 4530图形卡。

我读了这一页,但还是很难理解哪一页合适。

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

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.

可以。您必须创建DLL并使用OpenCL。研究S函数和Mex.

检查文件

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

可能的工具

MatConvNet->同时在CPU和GPU上工作。

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

另一种选择:Caffe和Caffe的Openmp变体通常支持Matlab,并在CPU和GPU 上工作

最新更新