How to implement an adaptive loss in Keras?
问题 I am trying to use Keras to implement the work done in A General and Adaptive Robust Loss Function. The author provides tensorflow code that works the hard details. I am just trying to use his prebuilt function in Keras. His custom loss function is learning a parameter 'alpha' that controls the shape of the loss function. I would like to track 'alpha' in addition to the loss during training. I am somewhat familiar with Keras custom loss functions and using wrappers, but I am not entirely sure