irolaina / FCRN-DepthPrediction

Deeper Depth Prediction with Fully Convolutional Residual Networks (FCRN)
BSD 2-Clause "Simplified" License
1.11k stars 313 forks source link

Matlab; invalid input syntax #95

Open StillZeroo opened 3 years ago

StillZeroo commented 3 years ago

Hello and thak you for your work!

Testing your code for the NYU_v2 trained tensorflow models worked great for me! But I'd also like to test your model on outdoor scenes. So I installed Matlab and got it linked to MatConvNet but I cant't get it to run...

I am tryind to test the code with an arbitray image, therefore my command Window statement is as follows:

DepthMapPrediction my_picture.jpg Make3D_ResNet-UpProj.mat

Running this the error statement is as follows:

**Error using imresize>parsePreMethodArgs (line 379) Invalid input syntax; input image missing from argument list.

Error in imresize>parseInputs (line 273) parsePreMethodArgs(varargin, method_arg_idx, first_param_string_idx);

Error in imresize (line 152) params = parseInputs(args{:});

Error in DepthMapPrediction (line 40) images = imresize(images, net.meta.normalization.imageSize(1:2));**

Does somebody have any advice on where to go from here?

(Using Matlab R2020b, and matconvnet-1.0-beta25)

WASANNADHIM commented 2 years ago

Hello, I have the same problem. Did you fix it??

ChenMathilda commented 2 years ago

Hi, Did you run the tensorflow models successefully? I just want to using this project to predict a picture's depth, but I can't find the .cpkt file which be provided before. I wonder if I can get the .cpkt file from you? I will be very grateful if you can provide a. ckpt file. My email address: nche0053@student.monash.edu, thanks! Regards, Mathilda.

SSophies commented 1 year ago

Hi @ChenMathilda, I have the same problem. Did you receive the .cpkt file? And could you maybe share it with me? Thanks!