tensorflow2-generative-models icon indicating copy to clipboard operation
tensorflow2-generative-models copied to clipboard

Incorrect loss for AutoEncoder

Open ncoop57 opened this issue 5 years ago • 2 comments

In computing the testing loss for the autoencoder, you reuse the training set

# test on holdout

loss = []
    for batch, test_x in tqdm(
        zip(range(N_TRAIN_BATCHES), train_dataset), total=N_TRAIN_BATCHES # Why is this using training again?
    ):

ncoop57 avatar May 23 '19 20:05 ncoop57

Thanks for pointing this out, it looks like I did this for multiple models.

timsainb avatar May 23 '19 20:05 timsainb

No problem. Thank you for this awesome set of models and straightforward code! It has greatly helped my understanding of these models, especially VAEs.

ncoop57 avatar May 25 '19 02:05 ncoop57