View full-text article in PMC Sensors (Basel). 2024 Jul 31;24(15):4975. doi: 10.3390/s24154975 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 FSS self-supervised framework based on multi-task learning 1:multi-task_split(Image): 2:Saliency= Unsupervised_Saliency _ Detection(Image) 3:Saliency1,Saliency2=Split(Saliency) 4:if random.random()<a then 5: target=Saliency 6: loss=nn.CrossEntropyLoss() 7:else {} 8: target=Saliency2 9: loss=nn.CrossEntropyLoss(gnore_index=Saliency1) 10:end if 11:q_image,target=Augmentations(Image,target) 12:s_image,s_mask=Augmentations(Image+b,Saliency1) 13:result=MLDAC(q_image,s_image,s_mask) 14:loss=loss(result,target)