voidrank/FastMask

Batch Layer

Closed this issue · 2 comments

Hi @voidrank,

How is exactly batch filter performed?. which code of caffe layer that point that operation?.
Thanks

layer { name: "batch_filter" type: "TopK" bottom: "sample" bottom: "mask_filter" bottom: "gt_masks" top: "filted_sample" }

You can get top k masks from the first bottom blob ordered by the values of the second bottom blob. The value k is determined by the shape of the third bottom blob.

Thanks. its clear. I have to read the prototxt and the caffe layer's src.