bl0 / PIC

Parametric Instance Classification for Unsupervised Visual Feature Learning, NeurIPS 2020

Home Page:https://arxiv.org/abs/2006.14618v1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sliding window issue

techmonsterwang opened this issue · comments

Hi, interesting work! I just wonder how often do sliding windows slide? An epoch? or sth else.

The code (sampler.py) here:

move start index to next window

    self.start_index = (self.start_index + self.window_stride) % len(self)

How often does this sentence been done?

Thanks for your attention to our work.
The sentence will be executed every epoch.

Thanks for your attention to our work. The sentence will be executed every epoch.

Thanks. I noticed that there is a iter() function in the sampler.py. Is it executed once per epoch?

Yes. The iter function will generate the indices of every batch in one epoch.

Yes. The iter function will generate the indices of every batch in one epoch.

Thanks a lot!!! Another issue is I cannot find the exact code for "Classification weight update correction". Where is it in?
Thanks for reply!

Sorry that "recent negative sampling" and "weight correction" have not been implemented in this version.