tensorflow: Udacity Example 1_notmnist failing to download

Environment info

Operating System: Mac OS X

Steps to reproduce

  1. virtualenv venv
  2. source venv/bin/activate
  3. pip install ipython
  4. pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.7.1-cp27-none-any.whl
  5. git clone https://github.com/tensorflow/tensorflow.git
  6. cd tensorflow/tensorflow/examples/udacity
  7. ipython notebook
  8. In the browser (Chrome 48.0.2564.116) load 1_notmnist.ipynb
  9. Run cell 1 (imports)
  10. Run cell 2

Cell 2 fails with Exception: Failed to verify notMNIST_large.tar.gz. Can you get to it with a browser?. Checked url (http://yaroslavvb.com/upload/notMNIST/notMNIST_large.tar.gz) with browser, downloads fine.

Checked working directory, found 422 byte notMNIST_large.tar.gz. Opened and found this;

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /upload/notMNIST/notMNIST_large.tar.gz
on this server.</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache Server at yaroslavvb.com Port 80</address>
</body></html>

Small thing, and easy to work around, but would improve our students’ experience if they didn’t have to debug this.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 7
  • Comments: 22 (8 by maintainers)

Most upvoted comments

Looks like there’s size mismatch. Can you see what size it is and also try with force=true On Apr 8, 2016 5:56 PM, “KSTseng” notifications@github.com wrote:


Exception Traceback (most recent call last) in () 13 return filename 14 —> 15 train_filename = maybe_download(‘notMNIST_large.tar.gz’, 247336696) 16 test_filename = maybe_download(‘notMNIST_small.tar.gz’, 8458043)

in maybe_download(filename, expected_bytes, force) 10 else: 11 raise Exception( —> 12 'Failed to verify ’ + filename + ‘. Can you get to it with a browser?’) 13 return filename 14

Exception: Failed to verify notMNIST_large.tar.gz. Can you get to it with a browser?

— You are receiving this because you were assigned. Reply to this email directly or view it on GitHub https://github.com/tensorflow/tensorflow/issues/1475#issuecomment-207672738