SysCV / P3Depth

Other
125 stars 17 forks source link

FileNotFoundError: [Errno 2] No such file or directory: '/dataset/nyu_depth_v2/official_splits/NYU_Depth_v2/data/nyu2_train.csv' #3

Open yukaizhou opened 2 years ago

yukaizhou commented 2 years ago

FileNotFoundError: [Errno 2] No such file or directory: '/dataset/nyu_depth_v2/official_splits/NYU_Depth_v2/data/nyu2_train.csv'

rnlee1998 commented 1 year ago

FileNotFoundError: [Errno 2] No such file or directory: '/dataset/nyu_depth_v2/official_splits/NYU_Depth_v2/data/nyu2_train.csv'

Did you solve this problem?

ChangYue-hub commented 1 year ago

You need to make a .csv file by getting the names of the datas used to train and put it in designated directory.

geoeo commented 1 year ago

The "csv" files can be found here https://github.com/cleinc/bts/tree/master/train_test_inputs You can rename them to .csvfiles. I had to change the pandas loader though.

e.g. in NYU_dataset.py l.31 self.paths = pd.read_csv(csv_file, header=None, delimiter=' ', names=['image', 'depth','random'])

random is just to name a column we wont use. This will still crash though as you have to place these files into the directories P3Depth expects.

The documentation is not very good. Sorry