Skip to content

Issue in quickstart/urbancars_erm.py #44

@divyansha

Description

@divyansha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions