Because the classification of the classification data is unbalanced and serious recently, I considered replacing the original loss, but I found several versions of the focal loss implementation code on the Internet, either the final result is not right, or it does not fully meet my needs, So I simply rewrote the code of one of them myself, and the record is as follows.
There are 3 concepts that need to be clarified as follows:
Be the first to comment