JiaxiongQ / DeepLiDAR

Deep Surface Normal Guided Depth Prediction for Outdoor Scene from Sparse LiDAR Data and Single Color Image (CVPR 2019)
MIT License
248 stars 49 forks source link

RGB Images aren't the same size as raw and gt depth data #19

Closed AnaRhisT94 closed 4 years ago

AnaRhisT94 commented 4 years ago

Hi, @JiaxiongQ. Thanks for this amazing repo and paper, I'd love to get your help. I'm trying to run the test.py file. My setup:

   gt_fold = '/home/someuser/depth_est/train/2011_09_26_drive_0001_sync/proj_depth/groundtruth/image_02/'
    left_fold = '/home/someuser/depth_est/Kitti_RGB/2011_09_26/2011_09_26_drive_0001_extract/image_02/data/'
    lidar2_raw ='/home/someuser/depth_est/velodyne/train/2011_09_26_drive_0001_sync/proj_depth/velodyne_raw/image_02/'

I've downloaded the RGB Images from here: http://www.cvlibs.net/datasets/kitti/raw_data.php?type=city Which are: 2011_09_26_drive_0001 (0.4 GB) Length: 114 frames (00:11 minutes) Image resolution: 1392 x 512 pixels

Their resolution isn't compatible with the raw and gt depth data that I downloaded from cvlibs: http://www.cvlibs.net/datasets/kitti/eval_depth.php?benchmark=depth_completion (I downloaded the 14GB and 2GB which only contains folders with train and val)

I guess I need to download this one for compatiable RGB Images: " Download manually selected validation and test data sets (5 GB)" ?

Also about the baidu files, I'm not able to download them from: https://pan.baidu.com/s/1ayNWa7_9Ia2f6_lYzW8paA?errno=0&errmsg=Auth%20Login%20Sucess&&bduss=&ssnerror=0&traceid=#list/path=%2F

It just downloads some baidu .exe file instead of your files. How can I solve it? (I'm currently trying to find a solution for this too over some guides in Reddit)

JiaxiongQ commented 4 years ago

1.You can check the whole file name which your code reads to solve the resolution problem. 2.You'd better download the baidu files in the Windows operation system.

AnaRhisT94 commented 4 years ago

1.You can check the whole file name which your code reads to solve the resolution problem. 2.You'd better download the baidu files in the Windows operation system.

  1. Yes, that's solved with the 5GB folder, I see that the images there are cropped to the desired size. (Will check soon and update that everything works) Edit: Checked with this setup and it works:
    gt_fold = '/home/someuser/depth_est/depth_selection/val_selection_cropped/groundtruth_depth/'
    left_fold = '/home/someuser/depth_est/depth_selection/val_selection_cropped/image/'
    lidar2_raw ='/home/someuser/depth_est/depth_selection/val_selection_cropped/velodyne_raw/'
  2. I'm using Windows operating system for downloading this (Also tried Ubuntu) and it still doesn't work. I'll update later when I manage to download from there. Edit2: This tutorial has helped me to download from pan.baidu: https://www.youtube.com/watch?v=UgSmx26w6TU

Thank you @JiaxiongQ !