weiliu89 / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
4.77k stars 1.67k forks source link

batch sampling #308

Open mks0601 opened 8 years ago

mks0601 commented 8 years ago

hi Did you sample mini-batch in a totally random way? Or did you give any constraint in batch sampling? I implemented ssd, however it is biased to the class whose number of image is the largest in PASCAL VOC.

mks0601 commented 8 years ago

Also, can you tell me how did you subsample parameters from fc6 and fc7? In a totally random way?

weiliu89 commented 8 years ago

I randomly sample images to form a mini-batch.

For fc6 and fc7, I sampled the parameters in grids (not random).