laughtervv / DepthAwareCNN

Depth-aware CNN for RGB-D Segmentation, ECCV 2018
MIT License
302 stars 81 forks source link

Preparation of data sets #1

Closed ghost closed 5 years ago

ghost commented 6 years ago

Hello, thanks a lot for sharing code. Could you provide methods that allow us to prepare datasets to run learning (lst and hha files)? This will make it easier to reproduce the results. Thank you in advance. Best regards.

sabrinazuraimi commented 6 years ago

Hi, running into a similar problem as I don't know how to prepare the lst and hha files. Did you manage to solve this?

laughtervv commented 6 years ago

Hi, I'm using scripts in this repo to prepare HHA. https://github.com/s-gupta/rcnn-depth/blob/ad56ddd57b0fe35b177d6dfe29b5e0601accbf18/rcnn/saveHHA.m

sabrinazuraimi commented 6 years ago

This might be a stupid question, but after downloading the labelled dataset from the NYUV2 dataset website, how do I prepare the lst file for training?

ghost commented 6 years ago

I adapted the code from ZhangMenghe to SUNRGBD processing: rgbd-processor-python. Just run demo.py

sabrinazuraimi commented 5 years ago

Thanks! I got it working!

feipanir commented 5 years ago

Anyone can share that how to process on NYUDv2 dataset? Thanks a lot!

phoebe0920 commented 4 years ago

above methods could produce train/test list , but how can l get a val list? Looking for yours answer,thank you !

xieyuhaoli commented 4 years ago

Thanks! I got it working!

Can you tell me how you made LST

gunjan99 commented 3 years ago

Thanks! I got it working!

Can you help with the camera intrinsic values that are needed in the code for the NYU dataset? TIA

fattyhu commented 3 years ago

Thanks! I got it working!

i meet the same problem, can you tell me how to solve it?

fattyhu commented 3 years ago

Hi, I'm using scripts in this repo to prepare HHA. https://github.com/s-gupta/rcnn-depth/blob/ad56ddd57b0fe35b177d6dfe29b5e0601accbf18/rcnn/saveHHA.m

i am a student, i don`t know how to make lst. when i run train.sh i got error

Traceback (most recent call last): File "train.py", line 33, in data_loader = CreateDataLoader(opt) File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/data_loader.py", line 6, in CreateDataLoader data_loader.initialize(opt) File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/custom_dataset_data_loader.py", line 51, in initialize self.dataset, self.dataset_val = CreateDataset(opt) File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/custom_dataset_data_loader.py", line 40, in CreateDataset dataset.initialize(opt) File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/nyuv2_dataset_crop.py", line 38, in initialize self.paths_dict = make_dataset_fromlst(opt.list) File "/home/fattyhu/catkin_ws/DepthAwareCNN-master/data/nyuv2_dataset_crop.py", line 23, in make_dataset_fromlst with open(listfilename) as f: FileNotFoundError: [Errno 2] No such file or directory: './lists/train.lst' can you tell me how to solve it?