Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator param size differ #197

Open
juliecious opened this issue Dec 9, 2021 · 0 comments
Open

Generator param size differ #197

juliecious opened this issue Dec 9, 2021 · 0 comments
Labels
pending review This issue needs to be further reviewed, so work cannot be started question General question about the software

Comments

@juliecious
Copy link

Environment details

If you are already running CTGAN, please indicate the following details about the environment in
which you are running it:

  • CTGAN version: 0.4.3 dev2
  • Python version: 3.8
  • Operating System: MacOS

Problem description

I trained multiple CTGAN models with the exact same data set (demo adult income data set). After training, I tried to average the learnable parameters of the generator from each model, but they are not the same size. Sometimes it differs, sometimes it doesn't. Could you please explain why? Is it expected?

# generator params from three trained CTGANs
ValueError: operands could not be broadcast together with shapes (157,744) (158,744) (157,744)
@juliecious juliecious added pending review This issue needs to be further reviewed, so work cannot be started question General question about the software labels Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending review This issue needs to be further reviewed, so work cannot be started question General question about the software
Projects
None yet
Development

No branches or pull requests

1 participant