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

Trainning only need HR images? #8

Open
Macro03 opened this issue May 10, 2021 · 3 comments
Open

Trainning only need HR images? #8

Macro03 opened this issue May 10, 2021 · 3 comments

Comments

@Macro03
Copy link

Macro03 commented May 10, 2021

Hello, thank you very much for your excellent work. Does the trainning data only need HR images? Can I delete the self.dir_lr in df2k.py ?

@Macro03 Macro03 changed the title Does the trainning data only need HR images? Trainning only need HR images? May 11, 2021
@LongguangWang
Copy link
Member

Hi @Macro03, thanks for your interest in our work.
In our implementation, the LR images are generated online during training thus you can safely remove self.dir_lr.

@Macro03
Copy link
Author

Macro03 commented Jun 2, 2021

I trained the Moco by the two real world images instead of 'degrade' images, the contrast_loss increase in early epoch and then decrease slowly. What do you think of it? Thank you so munch!

@LongguangWang
Copy link
Member

Hi @Macro03, we also have this observation in our experiments on synthetic images. In my opinion, at early epochs, the random samples in the queue is gradually replaced with the training data. Thus, it becomes more difficult to distinguish positive samples from negative samples and the loss is increased. After a few epochs, the queue is completely replaced by the training data and the loss begins to decrease.

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

2 participants