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

Random color jittering when testing on i-frame. #83

Open
kai422 opened this issue Feb 5, 2020 · 0 comments
Open

Random color jittering when testing on i-frame. #83

kai422 opened this issue Feb 5, 2020 · 0 comments

Comments

@kai422
Copy link

kai422 commented Feb 5, 2020

pytorch-coviar/dataset.py

Lines 151 to 158 in 4f0857a

if self._representation == 'iframe':
img = color_aug(img)
# BGR to RGB. (PyTorch uses RGB according to doc.)
img = img[..., ::-1]
frames.append(img)

When creating val_dataloader, is_train is set as False. But color jittering is still enabled. This may end up with inconsistent test results.

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