-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
I have an issue with methods such as
encoder_mean(m::AbstractVAE, x::AbstractArray) = m.encoder(x)
This is not gonna work with a classical VAE where the last layer of encoder contains both means and sigmas. Maybe change this to
encoder_mean(m::AbstractVAE, x::AbstractArray) = mean(m,m.encoder(x))
or something similar? That would however require that the model contains some label with what kind of VAEit is. This is also ttrue for decoder, where you can have fixed/scalar/diagonal sigmas. Or is there some advantage of using the TrackedArray sigmas separated as in your case?
Metadata
Metadata
Assignees
Labels
No labels