-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I want to try out PrDeep for my thesis on the topic of phase reconstruction, however after following the installation steps for PrDeep and all it's dependencies, I find myself unable to run the Demo file to it's completion.
The script manages to calculate t_HIO, but crashes in line 178. The log is attached below.
I suspect that PrDeep relies on Matconvnet being compiled with GPU accelleration. I was not able to do so due to an issue involving Mex and missing CUDA libraries (Crash message also attached below). While I know that this is not a problem involving PrDeep itself, it is a problem that prevents me from using it, and if this is a known issue, information on how to solve it, or copies of the missing files would allow me to fix this problem and proceed with using PrDeep. Alternatively, if it's possible to run PrDeep without GPU accelleration, information on how to do so might also help me solve this issue.
PrDeep crash log:
Warning: Name is nonexistent or not a directory: D:\Göpfert\Matlab\prDeep\Demos\~\matconvnet\matlab
In path (line 109)
In addpath>doPathAddition (line 126)
In addpath (line 90)
In PR_Demo (line 6)
t_HIO =
10.2913
Error using vl_nnconv
An input is not a numeric array (or GPU support not compiled).
Error in vl_simplenn (line 300)
res(i+1).x = vl_nnconv(res(i).x, l.weights{1}, l.weights{2}, ...
Error in denoise (line 161)
res = vl_simplenn(net_40to60,input,[],[],'conserveMemory',true,'mode','test');
Error in prDeep>@(noisy)denoise(real(noisy),prox_ops.sigma_hat,prox_ops.width,prox_ops.height,prox_ops.denoiser) (line 48)
denoi = @(noisy) denoise(real(noisy),prox_ops.sigma_hat,prox_ops.width,prox_ops.height,prox_ops.denoiser);
Error in prDeep>iterative_prox_map (line 68)
x=(1/(1+t*lambda))*(z+t*lambda*denoi(x));
Error in prDeep>@(z,t)iterative_prox_map(z,t,denoi,prox_ops) (line 54)
prox = @(z,t) iterative_prox_map(z,t,denoi,prox_ops);
Error in fasta (line 125)
x1 = proxg(x1hat,tau0); % Define x_{i+1}
Error in prDeep (line 57)
[solution, outs] = fasta(A,At,f,subgrad,g,prox,x0,opts);
Error in PR_Demo (line 178)
[x_hat_prDeep,outs_final1] = prDeep( M,Mt_asym,y,x_init(:),fasta_opts,prox_opts);
Error when compiling Matconvnet for the GPU
Error using mex
MEX cannot find library 'gpu', specified with the -l option.
MEX searched for a file with one of the following names:
libgpu.lib
gpu.lib
Verify the library name is correct. If the library is not
on the existing path, specify the path with the -L option.