You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
btw, why we use the training data as testing data in the first CNN model? I don't have api for your loader, but if I am right, that loader.get_batch(5000)should already been used during training?
# set the model to eval modestandard_classifier.eval()
# TRAINING DATA# Evaluate on a subset of CelebA+Imagenet
(batch_x, batch_y) =loader.get_batch(5000)
batch_x=torch.from_numpy(batch_x).float().to(device)
batch_y=torch.from_numpy(batch_y).float().to(device)
withtorch.inference_mode():
y_pred_logits=standard_classifier(batch_x)
The text was updated successfully, but these errors were encountered:
The solution you provide in "Defining the DB-VAE loss function" part might be wrong:
From your definition, for images of non-faces, loss function is solely the classification loss, so it should be
btw, why we use the training data as testing data in the first CNN model? I don't have api for your loader, but if I am right, that
loader.get_batch(5000)
should already been used during training?The text was updated successfully, but these errors were encountered: