zouchuhang / LayoutNet

Torch implementation of our CVPR 18 paper: "LayoutNet: Reconstructing the 3D Room Layout from a Single RGB Image"
http://openaccess.thecvf.com/content_cvpr_2018/papers/Zou_LayoutNet_Reconstructing_the_CVPR_2018_paper.pdf
MIT License
419 stars 93 forks source link

preprocessPano requires pano_edge_tr_1024 #32

Open yoshida-kh opened 5 years ago

yoshida-kh commented 5 years ago

I'm trying Matlab scripts, but preprocessPano.m requires pano_edge_tr_1024.. Could you show how to run it properly?

>> preprocessPano
pano_aadmuaxyxouqic
Error using load
Unable to read file '..\data\pano_edge_tr_1024\vp\pano_aadmuaxyxouqic.mat'. No
such file or directory.

Error in preprocessPano (line 59)
    load(['..\data\pano_edge_tr_1024\vp\' im_name '.mat']);
zouchuhang commented 5 years ago

@iloss This refers to the pre-saved vp estimated from PanoLabelIm.m L18-19. We first detect the vanishing points of the image and save the related vp. You can just put L18-19 in PanoLabelIm.m (including parameters) before preprocessPano.m L59.

yoshida-kh commented 5 years ago

@zouchuhang Thank you. I'll try it.