-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
The usage of _dequeue_and_enqueue function in RealESRNetModel #44
Comments
This line will call _dequeue_and_enqueue |
@xinntao Yes, this line call self._dequeue_and_enqueue(). I just cannot figure out how your code use self.queue_lq and self.queue_gt . I cannot find some other codes to use this two member variables。I know the role of this code block is to put input data in training pool. How does the code reach this goal? |
I get it. Thanks for your patient explain! So poor my understanding about the _dequeue_and_enqueue function! |
Hi, @xinntao. Thank you for the awesome work ! I also somewhat do not understand the purpose of this function. As far as I can tell the most obvious reason is to avoid creating a batch On the other hand the shuffling may result in some samples being used more Thanks in advance, |
@Arseny-N |
Thank you for the timely explanation! |
Hi,
I read the code serveral times, but cannot figure out what the role of _dequeue_and_enqueue function in RealESRNetModel is. This function is only used in feed_data(), which just put self.lq and self.gt into self.queue_lq and self.queue_gt. But I cannot find some other codes to use self.queue_lq and self.queue_gt. I would appreciate it if someone could explain this.
The text was updated successfully, but these errors were encountered: