Skip to content

Fix vae_ssl: variable name issue and n not match#127

Open
csy530216 wants to merge 1 commit intomasterfrom
fix#126
Open

Fix vae_ssl: variable name issue and n not match#127
csy530216 wants to merge 1 commit intomasterfrom
fix#126

Conversation

@csy530216
Copy link
Collaborator

Two issues in vae_ssl.py and vae_ssl_adaptive_is.py are fixed now:

  1. The variable names x_labeled and x_unlabeled were reused.
  2. The n in modelling of unlabeled part in vae_ssl.py should be n * n_class.

# Unlabeled
# TODO: n not match.

unlabeled_model = build_gen(n * n_class, x_dim, n_class, z_dim, n_particles)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we'd better not rebuild the model? other workaround possible? @csy530216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants