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

Unable to get visualize_dataloader.py to run due to kitti access #51

Open
tmagcaya opened this issue Sep 12, 2023 · 0 comments
Open

Unable to get visualize_dataloader.py to run due to kitti access #51

tmagcaya opened this issue Sep 12, 2023 · 0 comments

Comments

@tmagcaya
Copy link

I'm getting the following error when I run the visualize_dataloader.py file in the instructions. I verified that I have the file it's looking for in the directory. I believe there is a problem with pulling in the root directory as it's looking for /data/datasets directly from the /dd3d/ directory level.

[09/12 20:48:50 tridet.data.datasets.kitti_3d]: KITTI-3D dataset(s): kitti_3d_train, kitti_3d_val 
Error executing job with overrides: ['+experiments=dd3d_kitti_dla34', 'SOLVER.IMS_PER_BATCH=4']
Traceback (most recent call last):
  File "./scripts/visualize_dataloader.py", line 26, in main
    dataset_names = register_datasets(cfg)
  File "/workspace/dd3d/tridet/data/datasets/__init__.py", line 19, in register_datasets
    dataset_names.extend(register_kitti_3d_datasets(required_datasets, cfg))
  File "/workspace/dd3d/tridet/data/datasets/kitti_3d/__init__.py", line 41, in register_kitti_3d_datasets
    fn(name, **kwargs)
  File "/workspace/dd3d/tridet/data/datasets/kitti_3d/build.py", line 312, in register_kitti_3d_metadata
    dataset_dicts = DatasetCatalog.get(dataset_name)
  File "/usr/local/lib/python3.8/dist-packages/detectron2/data/catalog.py", line 58, in get
    return f()
  File "/workspace/dd3d/tridet/data/datasets/kitti_3d/build.py", line 298, in build_monocular_kitti3d_dataset
    dataset = KITTI3DMonocularDataset(root_dir, mv3d_split, class_names, sensors, box2d_from_box3d, max_num_items)
  File "/workspace/dd3d/tridet/data/datasets/kitti_3d/build.py", line 283, in __init__
    self._kitti_dset = KITTI3DDataset(root_dir, mv3d_split, class_names, sensors, box2d_from_box3d, max_num_items)
  File "/workspace/dd3d/tridet/data/datasets/kitti_3d/build.py", line 57, in __init__
    with open(os.path.join(self.root_dir, "mv3d_kitti_splits", "{}.txt".format(mv3d_split))) as _f:
FileNotFoundError: [Errno 2] No such file or directory: '/data/datasets/KITTI3D/mv3d_kitti_splits/train.txt'
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

1 participant