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

1d regression example #4

Open
subhashis opened this issue Feb 11, 2022 · 1 comment
Open

1d regression example #4

subhashis opened this issue Feb 11, 2022 · 1 comment

Comments

@subhashis
Copy link

I was trying to run the 1d regression notebook straight out of the box as provided. Ran into this issue of size mismatch. Any help would be appreciated. Thank you

ValueError Traceback (most recent call last)

in ()
32 optim.zero_grad()
33 y_pred, kl, loss, mse_loss, y_std = model(context_x, context_y, target_x,
---> 34 target_y)
35 loss.backward()
36 optim.step()

ValueError: not enough values to unpack (expected 5, got 3)

@wassname
Copy link
Owner

What branch/commit are you on? You will need to make sure the repo is on the same commit that you got the notebook from.

If you've checked all that, it might be that I changed the output of the model and haven't updated the script. It should be fairly easy for you to update that line.. It's been a while since I've worked on this, I would need more info to be able to help.

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

2 participants