I am training a CNN with some modification in classification layer. I have called a function in loss layer but when i start training the netwrok i get the folowing error:
Error using 'forwardLoss' in Layer ClassificationLayer. The function threw an error and could not be executed.
The following error occurred converting from gpuArray to double:
Conversion to double from gpuArray is not possible.
How to resolve this issue.?