Deep-Convolutional-AutoEncoder icon indicating copy to clipboard operation
Deep-Convolutional-AutoEncoder copied to clipboard

Fetch values of the latent space

Open usarawgi911 opened this issue 7 years ago • 1 comments

Hi @arashsaber Thank you for the comprehensive explanation of the code. Can you let me know how do i fetch values of the compressed representation (latent space), which is 'fc2 layer' as i understand? I have been trying out code snippets for the same, but couldn't get the values yet. Thank you

usarawgi911 avatar Sep 24 '18 00:09 usarawgi911

one quick solution is for the function to also output 'fc2'. A better solution is like the one I used for VAE and AAE available in the 'nnexplore' repository. That is, you define the encoder and decoder functions separately and fetch the output of encoder for any input you desire.

arashsaber avatar Sep 24 '18 03:09 arashsaber