SG-One(SG-One: Similarity Guidance Network for One-Shot Semantic Segmentation)[1] adopt a masked average pooling strategy for producing the
guidance features
, then leverage the cosine similarity to build therelationship
. There are some details of reading and implementing it.