从 imagenet 下载数据
Downloading data from imagenet
有人告诉我以下列表 "puppy" 图片 URL 来自 imagenet。
https://github.com/asharov/cute-animal-detector/blob/master/data/puppy-urls.txt
如何下载另一个类别,例如"cats"?
我在哪里可以获得 imagenet 类别的完整列表以及它们在 csv 中的解释?
不幸的是,ImageNet 不再像以前那样容易访问了。您现在必须创建一个免费帐户,然后使用证明您作为非商业研究人员身份的电子邮件地址请求访问数据库。以下是 2021 年 3 月 11 日发布的公告的摘录(没有具体说明获取帐户和请求访问权限的要求,但解释了他们一般更改网站的一些原因)。
We are proud to see ImageNet's wide adoption going beyond what was originally envisioned. However, the decade-old website was burdened by growing download requests. To serve the community better, we have redesigned the website and upgraded its hardware. The new website is simpler; we removed tangential or outdated functions to focus on the core use case—enabling users to download the data, including the full ImageNet dataset and the ImageNet Large Scale Visual Recognition Challenge (ILSVRC).
原始答案(链接不再有效):
您可以在 http://www.image-net.org/explore 以交互方式探索可用的同义词集(类别),每个同义词集页面都有一个“下载”选项卡,您可以在其中下载类别图像 URLs。
或者,您可以使用 ImageNet API。您可以使用同义词集 ID 或 wnid
下载特定同义词集的图像 URL。 URL 下载 link 下面的图片使用了 wnid
n02121808 for domestic cat, house cat, Felis domesticus, Felis catus。
http://www.image-net.org/api/text/imagenet.synset.geturls?wnid=n02121808
您可以使用上面的探索 link 找到特定同义词集的 wnid
(所选同义词集的 ID 将显示在浏览器地址栏中)。
您可以从以下位置检索所有可用同义词集的列表(按 ID):
http://www.image-net.org/api/text/imagenet.synset.obtain_synset_list.
您可以检索与任何同义词集 ID 关联的词,如下所示(另一个猫示例)。
http://www.image-net.org/api/text/wordnet.synset.getwords?wnid=n02121808
或者您可以下载较小尺寸的 imagenet,mini-imagenet:
2-1。 https://github.com/dragen1860/LearningToCompare-Pytorch/issues/4
2-2。 https://github.com/twitter/meta-learning-lstm/tree/master/data/miniImagenet
有人告诉我以下列表 "puppy" 图片 URL 来自 imagenet。
https://github.com/asharov/cute-animal-detector/blob/master/data/puppy-urls.txt
如何下载另一个类别,例如"cats"?
我在哪里可以获得 imagenet 类别的完整列表以及它们在 csv 中的解释?
不幸的是,ImageNet 不再像以前那样容易访问了。您现在必须创建一个免费帐户,然后使用证明您作为非商业研究人员身份的电子邮件地址请求访问数据库。以下是 2021 年 3 月 11 日发布的公告的摘录(没有具体说明获取帐户和请求访问权限的要求,但解释了他们一般更改网站的一些原因)。
We are proud to see ImageNet's wide adoption going beyond what was originally envisioned. However, the decade-old website was burdened by growing download requests. To serve the community better, we have redesigned the website and upgraded its hardware. The new website is simpler; we removed tangential or outdated functions to focus on the core use case—enabling users to download the data, including the full ImageNet dataset and the ImageNet Large Scale Visual Recognition Challenge (ILSVRC).
原始答案(链接不再有效):
您可以在 http://www.image-net.org/explore 以交互方式探索可用的同义词集(类别),每个同义词集页面都有一个“下载”选项卡,您可以在其中下载类别图像 URLs。
或者,您可以使用 ImageNet API。您可以使用同义词集 ID 或 wnid
下载特定同义词集的图像 URL。 URL 下载 link 下面的图片使用了 wnid
n02121808 for domestic cat, house cat, Felis domesticus, Felis catus。
http://www.image-net.org/api/text/imagenet.synset.geturls?wnid=n02121808
您可以使用上面的探索 link 找到特定同义词集的 wnid
(所选同义词集的 ID 将显示在浏览器地址栏中)。
您可以从以下位置检索所有可用同义词集的列表(按 ID):
http://www.image-net.org/api/text/imagenet.synset.obtain_synset_list.
您可以检索与任何同义词集 ID 关联的词,如下所示(另一个猫示例)。
http://www.image-net.org/api/text/wordnet.synset.getwords?wnid=n02121808
或者您可以下载较小尺寸的 imagenet,mini-imagenet:
2-1。 https://github.com/dragen1860/LearningToCompare-Pytorch/issues/4
2-2。 https://github.com/twitter/meta-learning-lstm/tree/master/data/miniImagenet