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

Dataloader structure causing error #1

Open
matthewbuckley opened this issue Dec 12, 2020 · 0 comments
Open

Dataloader structure causing error #1

matthewbuckley opened this issue Dec 12, 2020 · 0 comments

Comments

@matthewbuckley
Copy link

When I try to run the example notebook svi_compare, the cell svi.fit(train_data, val_data=None) causes an error which is traceable to the repeat_rows call from the stochiastic_elbo function in vae.py. The problem seems to be that the DataLoader elements are lists where each list item contains two tensors, but repeat_rows expects just a tensor. However, other parts of the code do expect the DataLoader to return lists. Is there a fix for this?

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

No branches or pull requests

1 participant