Open luca-medeiros opened 1 year ago
As mentioned https://github.com/luca-medeiros/lightning-sam/issues/16#issuecomment-1541319552 here, the current focal loss is not consistent with fvcore one.
Re-implementing and running tests would be needed.
Probably we could refer to sigmoid_focal_loss on huggingface/transformers.
As mentioned https://github.com/luca-medeiros/lightning-sam/issues/16#issuecomment-1541319552 here, the current focal loss is not consistent with fvcore one.
Re-implementing and running tests would be needed.