matlabdeep-learningati

deep-learning on Matlab with AMD graphic cards


how can I run this example in my pc? I don't have Nvidia graphic cards so I cannot use Cuda in Matlab.

I need to do it with Matlab because half of the my code is written in Matlab and all variables are in Matlab format.

My PC has ATI Radeon HD 4530 graphic card.

I read this page, but it is still confusing to understand which one is suitable.

Update1: I want to Train a deep neural network for image classification. A task similar to this example.

Update2: When I run the code mentioned in Update1, it gives me following error:

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.

Solution

  • MatConvNet -> Work both on CPU and GPU.

    MatConvNet is a MATLAB toolbox implementing Convolutional Neural Networks (CNNs) for computer vision applications. It is simple, efficient, and can run and learn state-of-the-art CNNs. Many pre-trained CNNs for image classification, segmentation, face recognition, and text detection are available.

    Another option: Caffe in general and Openmp variant of caffe in particular support Matlab and work both on CPU and GPU