-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[lab3 part1] bias_wrapped_dense_NN.call error #121
Comments
Also encountered the issue and solved in a similar manner. |
|
As OP. The output can not be unpacked to tuple, so write to single object and access its properties. |
I solved it ,thanks a lot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had the problem at first evaluation for the model, near the end of section
https://colab.research.google.com/github/aamini/introtodeeplearning/blob/master/lab3/Part1_IntroductionCapsa.ipynb#scrollTo=1_3_Evaluating_bias
As I see Capsa return a wrapped Tensor (
<RiskTensor: shape=(500, 1), dtype=float32, risk=(bias,)>
), wich wrapsbias
.Should be something like
prediction_wrap = bias_wrapped_dense_NN(x_test)
instead, e then use
prediction_wrap.bias
...Note: if this is an intentional mistake, please excuse the issue
The text was updated successfully, but these errors were encountered: