dontLoveBugs / DORN_pytorch

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

how to use the NYU Depth V2 dataset? #3

Closed suljaxm closed 4 years ago

suljaxm commented 5 years ago

I have downloaded the file of nyu_depth_v2_labeled.mat, and turn it to a h5 file. but the running is error, I don't know how to work with it in the next.

h5_error

Could you please help me?

dontLoveBugs commented 5 years ago

Hi,it seems your convert code is different from ours. The '.h5' is a image, and yours looks like all of the images for training or testing.

suljaxm commented 5 years ago

Yes, I don't know how to get these '.h5' images, and I directly converted from 'nyu_depth_v2_labeled.mat' in my way. emmm, how to get your training data? maybe, I just convert 'nyu_depth_v2_labeled.mat' to a single '.h5' image, each data is a '.h5' image?

dontLoveBugs commented 5 years ago

I will provide our convert script.

suljaxm commented 5 years ago

Thanks~