8000 WILDSSubset __getitem__ transform is broken · Issue #77 · p-lambda/wilds · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
WILDSSubset __getitem__ transform is broken #77
Closed
@lavoiems

Description

@lavoiems

x, y = self.transform(x, y)

self.transform is given 2 inputs. But, from the README, transform can be defined as a torchvision.transforms which takes 1 input. The result is the following error:

TypeError: __call__() takes 2 positional arguments but 3 were given
< 4251 /div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0