Closed lavoiems closed 3 years ago
https://github.com/p-lambda/wilds/blob/aa434b540fdbfb3e6d19a0857569abd52bcd44b3/wilds/datasets/wilds_dataset.py#L456
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:
torchvision.transforms
TypeError: __call__() takes 2 positional arguments but 3 were given
Hi Sam,
Thank you for reporting this! We'll work on fixing it and will keep you posted.
This should be fixed in the latest release. Thank you for reporting it!
https://github.com/p-lambda/wilds/blob/aa434b540fdbfb3e6d19a0857569abd52bcd44b3/wilds/datasets/wilds_dataset.py#L456
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: