Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jul 4, 2022 · 3 comments

Comments

@yukaizhou
Copy link

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

@rnlee1998
Copy link

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
Copy link

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

@geoeo
Copy link

geoeo commented Jul 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants