语义分割的各种loss详解与实现:
https://blog.csdn.net/wangdongwei0/article/details/84576044?tdsourcetag=s_pcqq_aiomsg
focal loss实现:
https://baijiahao.baidu.com/s?id=1631660497731008746&wfr=spider&for=pc
https://blog.csdn.net/Umi_you/article/details/80982190
https://blog.csdn.net/weixin_35653315/article/details/78327408
keras 中模型训练class_weight,sample_weight区别:
https://blog.csdn.net/weixin_40755306/article/details/82290033
https://blog.csdn.net/anjingshen/article/details/93322787
https://stackoverflow.com/questions/48315094/using-sample-weight-in-keras-for-sequence-labelling