Open yukaizhou opened 2 years 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?
You need to make a .csv file by getting the names of the datas used to train and put it in designated directory.
The "csv" files can be found here https://github.com/cleinc/bts/tree/master/train_test_inputs
You can rename them to .csv
files. 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
FileNotFoundError: [Errno 2] No such file or directory: '/dataset/nyu_depth_v2/official_splits/NYU_Depth_v2/data/nyu2_train.csv'