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

Issue in quickstart/urbancars_erm.py #44

Open
divyansha opened this issue Jan 17, 2025 · 2 comments
Open

Issue in quickstart/urbancars_erm.py #44

divyansha opened this issue Jan 17, 2025 · 2 comments

Comments

@divyansha
Copy link
Contributor

Get this traceback when running quickstart/urbancars_erm.py

Traceback (most recent call last):
  File "/Users/divyanshagarwal/Documents/UCLA/Capstone/SpuCo/quickstart/urbancars/urbancars_erm.py", line 209, in <module>
    main(args)
  File "/Users/divyanshagarwal/Documents/UCLA/Capstone/SpuCo/quickstart/urbancars/urbancars_erm.py", line 50, in main
    trainset=UrbanCars(root=args.root_dir, split="train", spurious_label_type=UrbanCarsSpuriousLabel.BOTH, verbose=True, transform=transform)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/divyanshagarwal/Documents/UCLA/Capstone/SpuCo/src/spuco/datasets/urban_cars.py", line 73, in __init__
    assert os.path.exists(os.path.join(root))
                          ^^^^^^^^^^^^^^^^^^
  File "<frozen posixpath>", line 76, in join

@divyansha
Copy link
Contributor Author

I'll take it up since I'm using UrbanCars for some other experiments.

@divyansha
Copy link
Contributor Author

FYI it seems like the official Stanford Links to the UrbanCars dataset has been taken down.

I was following the instructions in this repo to create UrbanCars by downloading Stanford Cars datasets from kaggle but it’s proving to be difficult because I still don’t have access to what was in http://ai.stanford.edu/~jkrause/cars/car_devkit.tgz

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