-
Notifications
You must be signed in to change notification settings - Fork 36
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
MNIST normalization error #4
Comments
I am having the same issue on the local machine, but my code passes the test after uploading to Google Colab. |
I had found that if I changed the assertion to:
With loosing the standard I can pass this test case. Is the test case assertion condition too rigid with regards to different hardware and software platform? I found that other test cases such as softmax_loss they all had the same phenomenon. |
@yt7589 I'm not entirely sure what the reason is for this discrepancy, but your code looks fine to me. It's probably okay to proceed with the rest of the assignment(s) despite this. I'll let you know if we see that these sorts of discrepancies are causing problems down the line, but I suspect it will be okay / you can simply ignore the local tests or change them as you see fit. The actual autograding system generally uses a higher tolerance anyways. In the future, please don't post parts of your solutions publicly. Re: email doesn't exist -- we haven't yet made mugrade accounts for students in the online course, but will do so in the near future. (So this problem is on our end, not yours.) |
@yt7589 @Leonard-Zeng I think I actually just made this test too strict, such that it fails on some platforms and not others. I've pushed a change increasing the tolerance (exactly what you did). |
I failed to pass the last test case of parse_mnist.
My environment: windows 10, anaconada3, python 3.8
My codes as below:
My code snip 1:
My code snip 2:
They all reported the same error message as below:
My question is how to do the normalization?
By the way I am in china mainland. I failed to register to this course. I filled the enroll form without much difficulty. But when I login this course it said that my email is not exist. I hadn't received any email via my email address. How to register to this class in Chain mainland?
The text was updated successfully, but these errors were encountered: