data layers do not restore next sample index
Is it intended? When you restart training from snapshot, solver restores correct iteration but data layers start from index 0.
Seems like a bug to me. @jeffdonahue thoughts?
Strictly speaking that is indeed a bug. I did not set the data index mostly because (1) prefetching and the interface makes it kind of tricky, and (2) we often do multiple passes through the data so practically it does not matter.
@Yangqing when you have a very large data set, and during epoch that last couple of days want to adjust training parameters few times, it appears you keep training mostly on the beginning of the data set...
See #2658 for a potential fix.