-
Notifications
You must be signed in to change notification settings - Fork 255
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
Notebook 4 - one s too many in the fit function before the random sampling section #16
Comments
Out of curiosity do you have a minimal example maybe that shows the issue? |
Hi @PiotrCzapla Right before the random sampling section we define fit as:
We define pred on line 4 in our loop, but we call report on preds in the last line. In most of the other fit functions it assigns the prediction to preds correctly such as the first fit function in the same notebook:
|
I see what you mean, it is in 04_minibatch_training just before jupyter chapter "Random sampling". :) I made a fix #19 with github.dev it is super easy nowadays to make such changes directly in the browser even to notebooks ! :) Thank you. |
I did not know that. Thanks, I will try it next time! |
Hi,
I was trying to reimplement the course material for my use case which is 1D as homework, and I had a bug running the fit function when using the PyTorch dataloaders, and I noticed that our fit function implemented right before the sampling chapter uses a variable called preds in the report function, however the predictions are stored in pred during the loop, and this lead to me having inconsistent dimensions, removing the s worked out.
Cheers
The text was updated successfully, but these errors were encountered: