I think overriding the function is the most reliable way.
John6666
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to setup my custom compute_metrics correctly for Triplet Loss? | 1 | 59 | August 23, 2025 | |
| My model doesn't learn with my triplet loss | 3 | 252 | April 22, 2025 | |
| My Fine-Tuning loss is not decreasing | 11 | 227 | September 19, 2025 | |
| Implement Multiple Negatives Ranking Loss | 0 | 1160 | May 23, 2023 | |
| How to train mnist with trainer? | 1 | 568 | December 7, 2023 |