dontLoveBugs / DORN_pytorch

PyTorch implementation of Deep Ordinal Regression Network for Monocular Depth Estimation
299 stars 67 forks source link

have you reproduced the results in DORN paper #1

Closed lyxlynn closed 4 years ago

lyxlynn commented 5 years ago

hi, have you reproduced the results in DORN paper?

dontLoveBugs commented 5 years ago

Not yet, I find it need much GPU memory and is time-consuming to train the network, but I have other more important experiments to do. I think the pytorch code need to be optimized. If you need to reproduce the results, you can try the official version in Caffe.

lyxlynn commented 5 years ago

@dontLoveBugs
I try your code , the result on validation is around 0.55(delta1). And on my own experiments, the result is around 0.76 , much lower than the results mentioned on paper.

jiaxinxie97 commented 5 years ago

@Liuyixuan95 Did you try DORN on KITTI dataset? I also get results much lower than reported on KITTI dataset by using the model they provide .

lyxlynn commented 5 years ago

@jiaxinxie97 I tried DORN only on NYUv2, now the results are normal. By using the model they provide I can get high results.

lyxlynn commented 5 years ago

The training images are converted in NYU_depth_v2_raw. You can use the matlab code the official website offers.(there are demos you can refer to)

在 2018年12月28日,下午5:33,Jingxiang Yu notifications@github.com 写道:

how to use the NYU Depth V2 dataset? I have downloaded the file of nyu_depth_v2_labeled.mat, but I don't know how to work with them in the next. Could you please help me?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dontLoveBugs/DORN_pytorch/issues/1#issuecomment-450326971, or mute the thread https://github.com/notifications/unsubscribe-auth/APP1G_wUHcCX20tLtOqeOV-KBTb15L5qks5u9eVTgaJpZM4ZVylH.

jiaxinxie97 commented 5 years ago

@dontLoveBugs I used different groundtruth depthmap , so I get bad results. DORN interpolates spare depthmap into dense depthmap as groundtruth to train and evaluate, but I use spare depthmap to evaluate.

suljaxm commented 5 years ago

@Liuyixuan95 Did you try DORN on KITTI dataset? I also get results much lower than reported on KITTI dataset by using the model they provide .

Thanks, Because v2 is too large, I first used the data of v1. However, when I registered the depth map and RGB map, I found that there would be some problems with the official tools. Matlab version is 2017a,and I used matlab’s xunit4 on my path. The error is as follows, 0 1k rqcyc o qf pk tw

Is it my matlab version or plug-in?

jiaxinxie97 commented 5 years ago

@Liuyixuan95 How do you evaluate DORN's results in NYUv2 dataset? I only find 654 test images in eigen split, but DORN said they used 694 images to test.

suljaxm commented 5 years ago

@jiaxinxie97 Friends, could you help me how to deal with the raw data on nyu_v2? I just do “nyu_depth_v2_labeled.mat“ now, but I dont know how to use all the Images (about 120k) in the dataset.

Excelsiorwu commented 5 years ago

@Liuyixuan95 Did you try DORN on KITTI dataset? I also get results much lower than reported on KITTI dataset by using the model they provide .

Thanks, Because v2 is too large, I first used the data of v1. However, when I registered the depth map and RGB map, I found that there would be some problems with the official tools. Matlab version is 2017a,and I used matlab’s xunit4 on my path. The error is as follows, 0 1k rqcyc o qf pk tw

Is it my matlab version or plug-in? I get the same problem as you. I think it is the difference between Windows and Linux .when run the code on ubuntu .The code works .It spend almost one week to process the datasets

lyxlynn commented 5 years ago

@Liuyixuan95 How do you evaluate DORN's results in NYUv2 dataset? I only find 654 test images in eigen split, but DORN said they used 694 images to test. @jiaxinxie97 I used 654 test images

tjqansthd commented 5 years ago

@Excelsiorwu
Hi, In get_synched_frames function, modify files = regexp(ls(sceneDir), '(\s+|\n)', 'split'); => files = regexp(string(ls(sceneDir)), '(\n)', 'split'); It will work. I think it is a problem of different version.

Excelsiorwu commented 5 years ago

@tjqansthd Hi,I also think it is a problem of ''ls'' command return different things when you run Windows Matlab and Linux Matlab. Thank you for your sharing

stalin18 commented 5 years ago

@jiaxinxie97 "I tried DORN only on NYUv2, now the results are normal. By using the model they provide I can get high results."

Hey, can you clarify what do you mean? Do you mean to say that using the CAFFE models provided by authors gives you expected results? So the model implemented in this repository is slightly different ?