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

AssertionError #92

Open
billie2jean opened this issue Dec 13, 2024 · 2 comments
Open

AssertionError #92

billie2jean opened this issue Dec 13, 2024 · 2 comments

Comments

@billie2jean
Copy link

billie2jean commented Dec 13, 2024

I want to train in KITTI, but it's wrong with AssertionError like this:
2024-12-13 08:05:11,169 INFO [helpers.py:188] Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/mobilenetv2_100_ra-b33bc2c4.pth) Parameter Count: 12598114 Traceback (most recent call last): File "train_stereo.py", line 239, in <module> train(args) File "train_stereo.py", line 124, in train train_loader = datasets.fetch_dataloader(args) File "/home/IGEV-main/IGEV-Stereo/core/stereo_datasets.py", line 312, in fetch_dataloader new_dataset = KITTI(aug_params) File "/home/IGEV-main/IGEV-Stereo/core/stereo_datasets.py", line 252, in __init__ assert os.path.exists(root) AssertionError
I dont know how this mistake happen

@gangweiX
Copy link
Owner

For core/stereo_datasets.py, root='/data/KITTI/KITTI_2015' should be set to your own KITTI dataset path.
image

@billie2jean
Copy link
Author

Thank you! I revisited the path based on your prompt and I noticed that the case of the dataset folder is not uniform, which is what is causing this issue.

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

2 participants