matconvnet cannot fing nvcc but it's shown in matlab

Here is the continours output:
>> system('nvcc --version')
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:32:27_Pacific_Daylight_Time_2019
Cuda compilation tools, release 10.2, V10.2.89
ans =
0
>> vl_compilenn()
Error using vl_compilenn>search_cuda_devkit (line 659)
Could not find a valid NVCC executable\n
Error in vl_compilenn (line 270)
if isempty(opts.cudaRoot), opts.cudaRoot = search_cuda_devkit(opts) ; end
>>
How can the problem be resolved?
Thanks.

2 Comments

Did you make it out? I met the same problem
Curious why you're still using matconvnet and not the fully supported Deep Learning Toolbox?

Sign in to comment.

Answers (0)

Asked:

on 21 Nov 2019

Commented:

on 3 Jun 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!