commit 47bfe116b2b36cd7345e23356a90a7eafd5bfdc9 parent 8b62518a0c37bc7b712a234a5949cb58e5088e42 Author: Marcel <MTRNord@users.noreply.github.com> Date: Sun, 9 Oct 2016 17:18:43 +0200 Change pos image ID 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 @@ -59,7 +59,7 @@ def store_raw_images2(): print fail_images + " invalid imgages" def store_raw_pos_images(): - pos_images_link = 'http://image-net.org/api/text/imagenet.synset.geturls?wnid=n07942152' + pos_images_link = 'http://image-net.org/api/text/imagenet.synset.geturls?wnid=n04096066' pos_image_urls = urllib.urlopen(pos_images_link).read().decode() pic_num = len([name for name in os.listdir('pos') if os.path.isfile(name)])+1 fail_images = 0