caffe icon indicating copy to clipboard operation
caffe copied to clipboard

data layers do not restore next sample index

Open okn2020 opened this issue 12 years ago • 4 comments

Is it intended? When you restart training from snapshot, solver restores correct iteration but data layers start from index 0.

okn2020 avatar Sep 09 '14 19:09 okn2020

Seems like a bug to me. @jeffdonahue thoughts?

shelhamer avatar Sep 15 '14 16:09 shelhamer

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 avatar Sep 18 '14 00:09 Yangqing

@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...

okn2020 avatar Sep 18 '14 09:09 okn2020

See #2658 for a potential fix.

shelhamer avatar Feb 21 '16 18:02 shelhamer