caffe icon indicating copy to clipboard operation
caffe copied to clipboard

the relationship of 2 data layer

Open mingtop opened this issue 11 years ago • 1 comments

datalayer1 data:x11 label: label1 datalayer2 data:y11 label: label2 The data in two datalayer has relationship of their order x11 ---> y11 x12---->y12 when train in SGD , can they shuffle in the same order >? ??

mingtop avatar Dec 02 '15 13:12 mingtop

Turn off shuffling and they will be in sync. Also note that if you use multi-gpu, there is no way to sync them currently, and you either have to use a single data layer (e.g. a custom python layer), or use only one gpu.

From https://github.com/BVLC/caffe/blob/master/CONTRIBUTING.md:

Please do not post usage, installation, or modeling questions, or other requests for help to Issues. Use the caffe-users list instead. This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe.

seanbell avatar Dec 02 '15 16:12 seanbell