commit 4f562cde2560cda45bcc7cd252adb0c4d0135725 parent aa6dbd9a22555e32151c8f7522a1e4b169cf997e Author: Marcel <MTRNord@users.noreply.github.com> Date: Thu, 6 Oct 2016 23:34:21 +0200 Update download-image-by-link.py Diffstat:
| M | scripts/download-image-by-link.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/download-image-by-link.py b/scripts/download-image-by-link.py @@ -7,7 +7,7 @@ import numpy as np import os def store_raw_images(): - neg_images_link = '//image-net.org/api/text/imagenet.synset.geturls?wnid=n07942152' + neg_images_link = 'http://image-net.org/api/text/imagenet.synset.geturls?wnid=n07942152' neg_image_urls = urllib2.urlopen(neg_images_link).read().decode() pic_num = 1