P3Depth icon indicating copy to clipboard operation
P3Depth copied to clipboard

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

Open yukaizhou opened this issue 3 years ago • 3 comments

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

yukaizhou avatar Jul 04 '22 08:07 yukaizhou

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?

rnlee1998 avatar Dec 08 '22 08:12 rnlee1998

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

ChangYue-hub avatar Jun 23 '23 18:06 ChangYue-hub

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

geoeo avatar Jul 04 '23 08:07 geoeo