-
Notifications
You must be signed in to change notification settings - Fork 50
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
关于正样本与负样本的选取问题 #84
Comments
您好,您理解的没错,我们将同一LR图像中提取的其他图像块视为正样本,来自其他LR图像的图像块视为负样本。 |
你好,我也有这个疑惑。trainer.py第73行代码:_, output, target = self.model_E(im_q=lr[:,0,...], im_k=lr[:,1,...]) |
感谢关注~self.queue中保存了之前iteration送入的patch样本。由于不同图像之间的退化是不一样的,因此这些之前iteration送入的、保存在self.queue中的样本对于当前的query来说就成了负样本。 |
您好!非常感谢您的工作。我在阅读您的paper的时候,如果我没有理解错的话,您是从同一LR图像中提取的其他图像块视为正样本,来自其他LR图像的图像块视为负样本。
但是我在阅读您的代码的时候,您始终都是以一个image作为单位来进行对比学习的。
因此来请教一下您,是我哪里的理解出问题了吗?
期待您的回复,谢谢!
The text was updated successfully, but these errors were encountered: