JunweiLiang / Multiverse

Dataset, code and model for the CVPR'20 paper "The Garden of Forking Paths: Towards Multi-Future Trajectory Prediction". And for the ECCV'20 SimAug paper.
https://next.cs.cmu.edu/multiverse/
Apache License 2.0
250 stars 61 forks source link

No such file or directory: 0000_11_346_cam2.p #4

Closed isaryo closed 4 years ago

isaryo commented 4 years ago

Hi. I try Visualize the Dataset. So I have a problem. FileNotFoundError: [Errno 2] No such file or directory: 'next_x_v1_dataset_prepared_data/multifuture/test/0000_11_346_cam2.p' Do you have a solution?

JunweiLiang commented 4 years ago

It is probably due to errors occurred in previous steps. Please provide all the outputs from running the commands in preparing the data.

isaryo commented 4 years ago

There's so much to tell you, I can't write it here. Please check this out. This is google documents.

JunweiLiang commented 4 years ago

Try removing 0000_11_346_cam2.mp4 and then run the visualization command again.

$ rm next_x_v1_dataset/rgb_videos/0000_11_346_cam2.mp4
isaryo commented 4 years ago

I get the same error. Traceback (most recent call last): File "code/visualize_multifuture_dataset.py", line 74, in with open(os.path.join(args.gt_path, "%s.p" % traj_id), "rb") as f: FileNotFoundError: [Errno 2] No such file or directory: 'next_x_v1_dataset_prepared_data/multifuture/test/0000_11_346_cam2.p'

JunweiLiang commented 4 years ago

I have added a check for the pickle files. Now it should ignore that video.