tensorflow / tensorflow/models

The 404 error is thrown when preparing imagenet data

Open
#8,052 4 comments 0 reactions 1 assignee View on GitHub

@AlexeyKurakin is already working on this.

Since May 29, 2020.

models:research type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

To reproduce the bug:
1, Follow Get Started to prepare image net data.

2, Run bazel-bin/inception/download_and_preprocess_imagenet "${DATA_DIR}"

3, The error like below is shown:

In order to download the imagenet data, you have to create an account with
image-net.org. This will get you a username and an access key. You can set the
IMAGENET_USERNAME and IMAGENET_ACCESS_KEY environment variables, or you can
enter the credentials here.
Username: username
Access key: password
Saving downloaded files to /root/image-data/raw-data/
Downloading bounding box annotations.
--2020-01-16 17:29:43-- http://www.image-net.org/challenges/LSVRC/2012/nonpub/ILSVRC2012_bbox_train_v2.tar.gz
Resolving xxx.proxy.com (xxx.proxy.com)... 10.239.5.5
Connecting to xxx.proxy.com (xxx.proxy.com)|10.239.5.5|:910... connected.
Proxy request sent, awaiting response... 404 Not Found
2020-01-16 17:29:44 ERROR 404: Not Found.

--2020-01-16 17:29:44-- http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_bbox_train_v2.tar.gz
Resolving xxx.proxy.com (xxx.proxyl.com)... 10.239.5.5
Connecting to xxx.proxy.com (xxx.proxy.com)|10.239.5.5|:910... connected.
Proxy request sent, awaiting response... 404 Not Found
2020-01-16 17:29:45 ERROR 404: Not Found.

According to my understanding, it's because http://image-net.org/ has modified its resource location and access level.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.