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

high performance is caused by testing label peeked through data augmentation? #5

Open
terryphillip87 opened this issue Mar 27, 2020 · 0 comments

Comments

@terryphillip87
Copy link

hi, I have gone through your code and found some issues regarding the extraordinarily high performance.

1.in this line,

x_support_set, y_support_set, x_target, y_target = self.data.get_test_batch(augment=True)

the data augmentation is enabled during testing, and in

LGM-Net/data.py

Line 139 in 55c035f

x_temp_target = self.rotate_batch(x_target[b], axis=(0, 1), k=k[b, c])
,
images from the same class are assigned with the same rotation angle. In this case, the testing query images are rotated aligned with the ground truth class, which means the query images already knows the correct label through rotations. I have run your code by disabling the data augmentation during testing, and the performance drops over 20%. It is counterintuitive that a data-augmentation trick in the testing phase can have a significant impact on the performance. I would like the author to make some clarifications regarding this issue.

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