Quantcast
Channel: Keras custom metrics with more than two inputs - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Andy Wei for Keras custom metrics with more than two inputs

Well apparently you can still use the variables (keras layers) without passing those into the custom loss function.So for my example, the loss can be calculated asdef custom_loss(y_true, y_pred):...

View Article


Keras custom metrics with more than two inputs

I have a VAE model that I've broken down into the encoder and decoder parts, and implemented a custom loss. A simplified example is as belowinput = Input(shape=(self.image_height, self.image_width,...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>