caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Does caffe SGD solver shuffle training data in each epoch?

Open zer0n opened this issue 11 years ago • 3 comments

If yes, how does it shuffle data for very large datasets (e.g. ImageNet)?

zer0n avatar Jun 16 '15 02:06 zer0n

Nope. There is no shuffling of the dataset. I guess because it's very expensive to re create the dataset or doing random access rather than consecutive access.

amiralush avatar Jun 16 '15 09:06 amiralush

The solver doesn't, but some of the data layers do. For example image data layer has a "shuffle" parameter that reshuffles the data every epoch.

talda avatar Jun 16 '15 11:06 talda

This tracker is for issues and bugs with Caffe. Please ask usage questions on the caffe-users list. Thanks!

longjon avatar Jun 19 '15 02:06 longjon