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

FIx bug 'tuple' object is not callable when train.py #12

Open
tuan97ta opened this issue Sep 20, 2022 · 0 comments
Open

FIx bug 'tuple' object is not callable when train.py #12

tuan97ta opened this issue Sep 20, 2022 · 0 comments

Comments

@tuan97ta
Copy link

Line 174 in file datasets.py :

EDIT
color_aug = transforms.ColorJitter.get_params(self.brightness, self.contrast, self.saturation, self.hue)
TO
color_aug = transforms.ColorJitter(self.brightness, self.contrast, self.saturation, self.hue)

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