{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "from pathlib import Path\n", "from urllib.parse import unquote\n", "import json" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Train" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "p = Path(\"csv/train\").resolve()\n", "train_attrib_df = pd.read_csv(p / 'train_attribution.csv')\n", "train_df_clean = pd.read_csv(p / 'train_clean.csv')\n", "train_df_cat = pd.read_csv(p / 'train_label_to_category.csv')\n", "train_df_hie = pd.read_csv(p / 'train_label_to_hierarchical.csv')\n", "train_df = pd.read_csv(p / 'train.csv')" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idurlauthorlicensetitle
06e158a47eb2ca3f6http://commons.wikimedia.org/wiki/File:Observa...Holger.EllgaardCC BY-SA 3.0(http://creativecommons.org/licens...File:Observatoriet väderkammer 2013a.jpg
1202cd79556f30760http://commons.wikimedia.org/wiki/File:Ecosse2...LeCardinalCC-BY-SA-3.0(http://creativecommons.org/licens...File:Ecosse200996-1.jpg
23ad87684c99c06e1http://commons.wikimedia.org/wiki/File:Pirmase...LoKiLeChGFDL(http://www.gnu.org/copyleft/fdl.html)/CC-...File:Pirmasens Dynamikum.jpg
3e7f70e9c61e66af3http://commons.wikimedia.org/wiki/File:Occiden...Andrés OsorioCC BY 2.0(http://creativecommons.org/licenses/...File:Occidental Vertical.jpg
44072182eddd0100ehttp://commons.wikimedia.org/wiki/File:Looking...Stephen Whittaker and Katharine OakeshottCC BY-SA 2.0(https://creativecommons.org/licen...File:Looking downstream from the footbridge ov...
\n", "
" ], "text/plain": [ " id url \\\n", "0 6e158a47eb2ca3f6 http://commons.wikimedia.org/wiki/File:Observa... \n", "1 202cd79556f30760 http://commons.wikimedia.org/wiki/File:Ecosse2... \n", "2 3ad87684c99c06e1 http://commons.wikimedia.org/wiki/File:Pirmase... \n", "3 e7f70e9c61e66af3 http://commons.wikimedia.org/wiki/File:Occiden... \n", "4 4072182eddd0100e http://commons.wikimedia.org/wiki/File:Looking... \n", "\n", " author \\\n", "0 Holger.Ellgaard \n", "1 LeCardinal \n", "2 LoKiLeCh \n", "3 Andrés Osorio \n", "4 Stephen Whittaker and Katharine Oakeshott \n", "\n", " license \\\n", "0 CC BY-SA 3.0(http://creativecommons.org/licens... \n", "1 CC-BY-SA-3.0(http://creativecommons.org/licens... \n", "2 GFDL(http://www.gnu.org/copyleft/fdl.html)/CC-... \n", "3 CC BY 2.0(http://creativecommons.org/licenses/... \n", "4 CC BY-SA 2.0(https://creativecommons.org/licen... \n", "\n", " title \n", "0 File:Observatoriet väderkammer 2013a.jpg \n", "1 File:Ecosse200996-1.jpg \n", "2 File:Pirmasens Dynamikum.jpg \n", "3 File:Occidental Vertical.jpg \n", "4 File:Looking downstream from the footbridge ov... " ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "train_attrib_df.head()" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
landmark_idimages
0117660ef415d37059 92b6290d571448f6 cd41bf948edc...
1725c9dfc7ea69838d 28b13f94a6f1f3c1 307d6584f473...
290193b65bb58d2c77 1a30a51a287ecf69 1f4e8ab1f1b2...
3111a6cb1deed46bb17 1cc2c8fbc83e1a0c 2361b8da868c...
4120a199c97c382b1ff 1492a5d344495391 290097bd36a6...
\n", "
" ], "text/plain": [ " landmark_id images\n", "0 1 17660ef415d37059 92b6290d571448f6 cd41bf948edc...\n", "1 7 25c9dfc7ea69838d 28b13f94a6f1f3c1 307d6584f473...\n", "2 9 0193b65bb58d2c77 1a30a51a287ecf69 1f4e8ab1f1b2...\n", "3 11 1a6cb1deed46bb17 1cc2c8fbc83e1a0c 2361b8da868c...\n", "4 12 0a199c97c382b1ff 1492a5d344495391 290097bd36a6..." ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "train_df_clean.head() # All other images" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
landmark_idcategory
00http://commons.wikimedia.org/wiki/Category:Hap...
11http://commons.wikimedia.org/wiki/Category:Lui...
22http://commons.wikimedia.org/wiki/Category:Gra...
33http://commons.wikimedia.org/wiki/Category:Twe...
44http://commons.wikimedia.org/wiki/Category:San...
\n", "
" ], "text/plain": [ " landmark_id category\n", "0 0 http://commons.wikimedia.org/wiki/Category:Hap...\n", "1 1 http://commons.wikimedia.org/wiki/Category:Lui...\n", "2 2 http://commons.wikimedia.org/wiki/Category:Gra...\n", "3 3 http://commons.wikimedia.org/wiki/Category:Twe...\n", "4 4 http://commons.wikimedia.org/wiki/Category:San..." ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "train_df_cat.head() # Already in hierarchy" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
landmark_idcategorysupercategoryhierarchical_labelnatural_or_human_made
00http://commons.wikimedia.org/wiki/Category:Hap...horse racing venuesports venuehuman-made
11http://commons.wikimedia.org/wiki/Category:Lui...parkparksnatural
22http://commons.wikimedia.org/wiki/Category:Gra...mountainmountainnatural
35http://commons.wikimedia.org/wiki/Category:Lak...motorsport racing trackroadhuman-made
47http://commons.wikimedia.org/wiki/Category:Spa...multi-purpose hallNaNNaN
\n", "
" ], "text/plain": [ " landmark_id category \\\n", "0 0 http://commons.wikimedia.org/wiki/Category:Hap... \n", "1 1 http://commons.wikimedia.org/wiki/Category:Lui... \n", "2 2 http://commons.wikimedia.org/wiki/Category:Gra... \n", "3 5 http://commons.wikimedia.org/wiki/Category:Lak... \n", "4 7 http://commons.wikimedia.org/wiki/Category:Spa... \n", "\n", " supercategory hierarchical_label natural_or_human_made \n", "0 horse racing venue sports venue human-made \n", "1 park parks natural \n", "2 mountain mountain natural \n", "3 motorsport racing track road human-made \n", "4 multi-purpose hall NaN NaN " ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "train_df_hie.head()" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idurllandmark_id
06e158a47eb2ca3f6https://upload.wikimedia.org/wikipedia/commons...142820
1202cd79556f30760http://upload.wikimedia.org/wikipedia/commons/...104169
23ad87684c99c06e1http://upload.wikimedia.org/wikipedia/commons/...37914
3e7f70e9c61e66af3https://upload.wikimedia.org/wikipedia/commons...102140
44072182eddd0100ehttps://upload.wikimedia.org/wikipedia/commons...2474
\n", "
" ], "text/plain": [ " id url \\\n", "0 6e158a47eb2ca3f6 https://upload.wikimedia.org/wikipedia/commons... \n", "1 202cd79556f30760 http://upload.wikimedia.org/wikipedia/commons/... \n", "2 3ad87684c99c06e1 http://upload.wikimedia.org/wikipedia/commons/... \n", "3 e7f70e9c61e66af3 https://upload.wikimedia.org/wikipedia/commons... \n", "4 4072182eddd0100e https://upload.wikimedia.org/wikipedia/commons... \n", "\n", " landmark_id \n", "0 142820 \n", "1 104169 \n", "2 37914 \n", "3 102140 \n", "4 2474 " ] }, "execution_count": 7, "metadata": {}, "output_type": "execute_result" } ], "source": [ "train_df.head()" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idurllandmark_idcategorysupercategoryhierarchical_labelnatural_or_human_made
0202cd79556f30760http://upload.wikimedia.org/wikipedia/commons/...104169http://commons.wikimedia.org/wiki/Category:Sti...castlecastle / forthuman-made
14072182eddd0100ehttps://upload.wikimedia.org/wikipedia/commons...2474http://commons.wikimedia.org/wiki/Category:Riv...riverrivernatural
26f31b874d1a4d489https://upload.wikimedia.org/wikipedia/commons...6888http://commons.wikimedia.org/wiki/Category:Liv...parkparksnatural
316d8aa057cdd01b9http://upload.wikimedia.org/wikipedia/commons/...25719http://commons.wikimedia.org/wiki/Category:Duo...cathedralchurchhuman-made
43968e37e503f3109https://upload.wikimedia.org/wikipedia/commons...122849http://commons.wikimedia.org/wiki/Category:Wil...observation towertowerhuman-made
\n", "
" ], "text/plain": [ " id url \\\n", "0 202cd79556f30760 http://upload.wikimedia.org/wikipedia/commons/... \n", "1 4072182eddd0100e https://upload.wikimedia.org/wikipedia/commons... \n", "2 6f31b874d1a4d489 https://upload.wikimedia.org/wikipedia/commons... \n", "3 16d8aa057cdd01b9 http://upload.wikimedia.org/wikipedia/commons/... \n", "4 3968e37e503f3109 https://upload.wikimedia.org/wikipedia/commons... \n", "\n", " landmark_id category \\\n", "0 104169 http://commons.wikimedia.org/wiki/Category:Sti... \n", "1 2474 http://commons.wikimedia.org/wiki/Category:Riv... \n", "2 6888 http://commons.wikimedia.org/wiki/Category:Liv... \n", "3 25719 http://commons.wikimedia.org/wiki/Category:Duo... \n", "4 122849 http://commons.wikimedia.org/wiki/Category:Wil... \n", "\n", " supercategory hierarchical_label natural_or_human_made \n", "0 castle castle / fort human-made \n", "1 river river natural \n", "2 park parks natural \n", "3 cathedral church human-made \n", "4 observation tower tower human-made " ] }, "execution_count": 8, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# train_df.join(train_df_hie, on='landmark_id', how=\"left\").head()\n", "merge_1 = train_df.merge(train_df_hie, on='landmark_id')\n", "merge_1.head()" ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idimage_urllandmark_idcategorysupercategoryhierarchical_labelnatural_or_human_madesite_urlauthorlicensetitle
0202cd79556f30760http://upload.wikimedia.org/wikipedia/commons/...104169http://commons.wikimedia.org/wiki/Category:Sti...castlecastle / forthuman-madehttp://commons.wikimedia.org/wiki/File:Ecosse2...LeCardinalCC-BY-SA-3.0(http://creativecommons.org/licens...File:Ecosse200996-1.jpg
14072182eddd0100ehttps://upload.wikimedia.org/wikipedia/commons...2474http://commons.wikimedia.org/wiki/Category:Riv...riverrivernaturalhttp://commons.wikimedia.org/wiki/File:Looking...Stephen Whittaker and Katharine OakeshottCC BY-SA 2.0(https://creativecommons.org/licen...File:Looking downstream from the footbridge ov...
26f31b874d1a4d489https://upload.wikimedia.org/wikipedia/commons...6888http://commons.wikimedia.org/wiki/Category:Liv...parkparksnaturalhttp://commons.wikimedia.org/wiki/File:Livadii...ЯдвигаВерескCC BY-SA 4.0(http://creativecommons.org/licens...File:Livadiiskyi Park,.JPG
316d8aa057cdd01b9http://upload.wikimedia.org/wikipedia/commons/...25719http://commons.wikimedia.org/wiki/Category:Duo...cathedralchurchhuman-madehttp://commons.wikimedia.org/wiki/File:A-Duomo...AlbertomosCC-BY-SA-3.0(http://creativecommons.org/licens...File:A-Duomo Monza italy.jpg
43968e37e503f3109https://upload.wikimedia.org/wikipedia/commons...122849http://commons.wikimedia.org/wiki/Category:Wil...observation towertowerhuman-madehttp://commons.wikimedia.org/wiki/File:2011-04...Hansueli Krapf This file was uploaded with Com...CC BY-SA 3.0(https://creativecommons.org/licen...File:2011-04-03 14-50-50 Switzerland Kanton Zü...
\n", "
" ], "text/plain": [ " id image_url \\\n", "0 202cd79556f30760 http://upload.wikimedia.org/wikipedia/commons/... \n", "1 4072182eddd0100e https://upload.wikimedia.org/wikipedia/commons... \n", "2 6f31b874d1a4d489 https://upload.wikimedia.org/wikipedia/commons... \n", "3 16d8aa057cdd01b9 http://upload.wikimedia.org/wikipedia/commons/... \n", "4 3968e37e503f3109 https://upload.wikimedia.org/wikipedia/commons... \n", "\n", " landmark_id category \\\n", "0 104169 http://commons.wikimedia.org/wiki/Category:Sti... \n", "1 2474 http://commons.wikimedia.org/wiki/Category:Riv... \n", "2 6888 http://commons.wikimedia.org/wiki/Category:Liv... \n", "3 25719 http://commons.wikimedia.org/wiki/Category:Duo... \n", "4 122849 http://commons.wikimedia.org/wiki/Category:Wil... \n", "\n", " supercategory hierarchical_label natural_or_human_made \\\n", "0 castle castle / fort human-made \n", "1 river river natural \n", "2 park parks natural \n", "3 cathedral church human-made \n", "4 observation tower tower human-made \n", "\n", " site_url \\\n", "0 http://commons.wikimedia.org/wiki/File:Ecosse2... \n", "1 http://commons.wikimedia.org/wiki/File:Looking... \n", "2 http://commons.wikimedia.org/wiki/File:Livadii... \n", "3 http://commons.wikimedia.org/wiki/File:A-Duomo... \n", "4 http://commons.wikimedia.org/wiki/File:2011-04... \n", "\n", " author \\\n", "0 LeCardinal \n", "1 Stephen Whittaker and Katharine Oakeshott \n", "2 ЯдвигаВереск \n", "3 Albertomos \n", "4 Hansueli Krapf This file was uploaded with Com... \n", "\n", " license \\\n", "0 CC-BY-SA-3.0(http://creativecommons.org/licens... \n", "1 CC BY-SA 2.0(https://creativecommons.org/licen... \n", "2 CC BY-SA 4.0(http://creativecommons.org/licens... \n", "3 CC-BY-SA-3.0(http://creativecommons.org/licens... \n", "4 CC BY-SA 3.0(https://creativecommons.org/licen... \n", "\n", " title \n", "0 File:Ecosse200996-1.jpg \n", "1 File:Looking downstream from the footbridge ov... \n", "2 File:Livadiiskyi Park,.JPG \n", "3 File:A-Duomo Monza italy.jpg \n", "4 File:2011-04-03 14-50-50 Switzerland Kanton Zü... " ] }, "execution_count": 9, "metadata": {}, "output_type": "execute_result" } ], "source": [ "final_train = merge_1.merge(train_attrib_df, on='id')\n", "final_train = final_train.rename({\"url_x\": \"image_url\", \"url_y\": \"site_url\"}, axis=1)\n", "final_train.head()" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "2935190\n", "128842\n" ] } ], "source": [ "print(len(final_train[\"category\"]))\n", "print(len(final_train[\"category\"].unique()))\n", "cats = final_train[\"category\"].str.split(\"Category:\").str[1]" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idimage_urllandmark_idcategorysupercategoryhierarchical_labelnatural_or_human_madesite_urlauthorlicensetitleparsed_cats
0202cd79556f30760http://upload.wikimedia.org/wikipedia/commons/...104169http://commons.wikimedia.org/wiki/Category:Sti...castlecastle / forthuman-madehttp://commons.wikimedia.org/wiki/File:Ecosse2...LeCardinalCC-BY-SA-3.0(http://creativecommons.org/licens...File:Ecosse200996-1.jpgStirling_Castle
14072182eddd0100ehttps://upload.wikimedia.org/wikipedia/commons...2474http://commons.wikimedia.org/wiki/Category:Riv...riverrivernaturalhttp://commons.wikimedia.org/wiki/File:Looking...Stephen Whittaker and Katharine OakeshottCC BY-SA 2.0(https://creativecommons.org/licen...File:Looking downstream from the footbridge ov...River_Severn
26f31b874d1a4d489https://upload.wikimedia.org/wikipedia/commons...6888http://commons.wikimedia.org/wiki/Category:Liv...parkparksnaturalhttp://commons.wikimedia.org/wiki/File:Livadii...ЯдвигаВерескCC BY-SA 4.0(http://creativecommons.org/licens...File:Livadiiskyi Park,.JPGLivadiiskyi_Park
316d8aa057cdd01b9http://upload.wikimedia.org/wikipedia/commons/...25719http://commons.wikimedia.org/wiki/Category:Duo...cathedralchurchhuman-madehttp://commons.wikimedia.org/wiki/File:A-Duomo...AlbertomosCC-BY-SA-3.0(http://creativecommons.org/licens...File:A-Duomo Monza italy.jpgDuomo_(Monza)
43968e37e503f3109https://upload.wikimedia.org/wikipedia/commons...122849http://commons.wikimedia.org/wiki/Category:Wil...observation towertowerhuman-madehttp://commons.wikimedia.org/wiki/File:2011-04...Hansueli Krapf This file was uploaded with Com...CC BY-SA 3.0(https://creativecommons.org/licen...File:2011-04-03 14-50-50 Switzerland Kanton Zü...Wildensbuch_lookout_tower
\n", "
" ], "text/plain": [ " id image_url \\\n", "0 202cd79556f30760 http://upload.wikimedia.org/wikipedia/commons/... \n", "1 4072182eddd0100e https://upload.wikimedia.org/wikipedia/commons... \n", "2 6f31b874d1a4d489 https://upload.wikimedia.org/wikipedia/commons... \n", "3 16d8aa057cdd01b9 http://upload.wikimedia.org/wikipedia/commons/... \n", "4 3968e37e503f3109 https://upload.wikimedia.org/wikipedia/commons... \n", "\n", " landmark_id category \\\n", "0 104169 http://commons.wikimedia.org/wiki/Category:Sti... \n", "1 2474 http://commons.wikimedia.org/wiki/Category:Riv... \n", "2 6888 http://commons.wikimedia.org/wiki/Category:Liv... \n", "3 25719 http://commons.wikimedia.org/wiki/Category:Duo... \n", "4 122849 http://commons.wikimedia.org/wiki/Category:Wil... \n", "\n", " supercategory hierarchical_label natural_or_human_made \\\n", "0 castle castle / fort human-made \n", "1 river river natural \n", "2 park parks natural \n", "3 cathedral church human-made \n", "4 observation tower tower human-made \n", "\n", " site_url \\\n", "0 http://commons.wikimedia.org/wiki/File:Ecosse2... \n", "1 http://commons.wikimedia.org/wiki/File:Looking... \n", "2 http://commons.wikimedia.org/wiki/File:Livadii... \n", "3 http://commons.wikimedia.org/wiki/File:A-Duomo... \n", "4 http://commons.wikimedia.org/wiki/File:2011-04... \n", "\n", " author \\\n", "0 LeCardinal \n", "1 Stephen Whittaker and Katharine Oakeshott \n", "2 ЯдвигаВереск \n", "3 Albertomos \n", "4 Hansueli Krapf This file was uploaded with Com... \n", "\n", " license \\\n", "0 CC-BY-SA-3.0(http://creativecommons.org/licens... \n", "1 CC BY-SA 2.0(https://creativecommons.org/licen... \n", "2 CC BY-SA 4.0(http://creativecommons.org/licens... \n", "3 CC-BY-SA-3.0(http://creativecommons.org/licens... \n", "4 CC BY-SA 3.0(https://creativecommons.org/licen... \n", "\n", " title \\\n", "0 File:Ecosse200996-1.jpg \n", "1 File:Looking downstream from the footbridge ov... \n", "2 File:Livadiiskyi Park,.JPG \n", "3 File:A-Duomo Monza italy.jpg \n", "4 File:2011-04-03 14-50-50 Switzerland Kanton Zü... \n", "\n", " parsed_cats \n", "0 Stirling_Castle \n", "1 River_Severn \n", "2 Livadiiskyi_Park \n", "3 Duomo_(Monza) \n", "4 Wildensbuch_lookout_tower " ] }, "execution_count": 11, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# sort = [unquote(c).strip(\"\\\"\").strip(\"'\").replace(\"_\", \" \") for c in cats]\n", "sort = cats\n", "final_train.loc[:, \"parsed_cats\"] = sort\n", "final_train.head()" ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [], "source": [ "def save_classes(classes: pd.DataFrame, path: Path = None):\n", " classes = classes.drop_duplicates()\n", " col = classes.columns[0]\n", " final_classes = dict(sorted(classes.to_dict()[col].items()))\n", " if path:\n", " path.write_text(json.dumps(final_classes))\n", " return final_classes" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [], "source": [ "# save categories for ClassLabel\n", "root_p = (p / \"../../../\").resolve()\n", "train_cats = save_classes(final_train[[\"landmark_id\", \"parsed_cats\"]].set_index(\"landmark_id\"))" ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [], "source": [ "license = final_train[\"license\"] \\\n", " .str.split(\"\\(http\")\\\n", " .str[0].str.split(\"\\(www\")\\\n", " .str[0].str.split(\"\\(//commons\")\\\n", " .str[0].str.split(\"Attribution\\(\\)/\")\\\n", " .str[-1].str.split(\"{{{version}}}\")\\\n", " .str[0].str.split(\"Do not reuse \\(yet\\)!\\(\\)/\")\\\n", " .str[0].str.strip()\\\n", " .str.strip(\"-\")\\\n", " .replace(\"\", \"No restrictions\")" ] }, { "cell_type": "code", "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "['BSD', 'CC BY', 'CC BY 1.0', 'CC BY 1.0 nl', 'CC BY 2.0']" ] }, "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [ "sorted(license.unique())[:5]" ] }, { "cell_type": "code", "execution_count": 16, "metadata": {}, "outputs": [], "source": [ "title = final_train[\"title\"].str.split(\":\").str[1:].str.join(\":\").str.strip()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Test" ] }, { "cell_type": "code", "execution_count": 17, "metadata": {}, "outputs": [], "source": [ "p = Path(\"csv/test\").resolve()\n", "test_reco_df = pd.read_csv(p / 'recognition_solution_v2.1.csv')\n", "test_ret_df = pd.read_csv(p / 'retrieval_solution_v2.1.csv')\n", "test_df = pd.read_csv(p / 'test.csv')" ] }, { "cell_type": "code", "execution_count": 18, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idlandmarksUsage
0e324e0f3e6d9e504NaNPrivate
1d9e17c5f3e0c47b3NaNPrivate
21a748a755ed67512NaNPublic
3537bf9bdfccdafeaNaNPrivate
413f4c974274ee08bNaNPrivate
\n", "
" ], "text/plain": [ " id landmarks Usage\n", "0 e324e0f3e6d9e504 NaN Private\n", "1 d9e17c5f3e0c47b3 NaN Private\n", "2 1a748a755ed67512 NaN Public\n", "3 537bf9bdfccdafea NaN Private\n", "4 13f4c974274ee08b NaN Private" ] }, "execution_count": 18, "metadata": {}, "output_type": "execute_result" } ], "source": [ "test_reco_df.head()" ] }, { "cell_type": "code", "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idimagesUsage
0a1788046694b0213NaNIgnored
1c0b46342f2ccd446NaNIgnored
2d6058caf9827c742NaNIgnored
37a303b25b701c535NaNIgnored
4938d53db837e3113NaNIgnored
\n", "
" ], "text/plain": [ " id images Usage\n", "0 a1788046694b0213 NaN Ignored\n", "1 c0b46342f2ccd446 NaN Ignored\n", "2 d6058caf9827c742 NaN Ignored\n", "3 7a303b25b701c535 NaN Ignored\n", "4 938d53db837e3113 NaN Ignored" ] }, "execution_count": 19, "metadata": {}, "output_type": "execute_result" } ], "source": [ "test_ret_df.head()" ] }, { "cell_type": "code", "execution_count": 20, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
id
000016575233bc956
10001aadbcd8cb923
20002c06b2440a5f9
30002eb1ee5a5a6b2
4000594dad986513e
\n", "
" ], "text/plain": [ " id\n", "0 00016575233bc956\n", "1 0001aadbcd8cb923\n", "2 0002c06b2440a5f9\n", "3 0002eb1ee5a5a6b2\n", "4 000594dad986513e" ] }, "execution_count": 20, "metadata": {}, "output_type": "execute_result" } ], "source": [ "test_df.head() # Useless" ] }, { "cell_type": "code", "execution_count": 21, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idlandmarksreco_usageimagesret_usage
0e324e0f3e6d9e504NaNPrivateNaNIgnored
1d9e17c5f3e0c47b3NaNPrivateNaNIgnored
21a748a755ed67512NaNPublicNaNIgnored
3537bf9bdfccdafeaNaNPrivateNaNIgnored
413f4c974274ee08bNaNPrivateNaNIgnored
\n", "
" ], "text/plain": [ " id landmarks reco_usage images ret_usage\n", "0 e324e0f3e6d9e504 NaN Private NaN Ignored\n", "1 d9e17c5f3e0c47b3 NaN Private NaN Ignored\n", "2 1a748a755ed67512 NaN Public NaN Ignored\n", "3 537bf9bdfccdafea NaN Private NaN Ignored\n", "4 13f4c974274ee08b NaN Private NaN Ignored" ] }, "execution_count": 21, "metadata": {}, "output_type": "execute_result" } ], "source": [ "final_test = test_reco_df.rename({\"Usage\": \"reco_usage\"}, axis=1).merge(test_ret_df.rename({\"Usage\": \"ret_usage\"}, axis=1), on='id')\n", "final_test.head()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Index" ] }, { "cell_type": "code", "execution_count": 22, "metadata": {}, "outputs": [], "source": [ "p = Path(\"csv/index\").resolve()\n", "index_land_df = pd.read_csv(p / 'index_image_to_landmark.csv')\n", "index_cat_df = pd.read_csv(p / 'index_label_to_category.csv')\n", "index_hie_df = pd.read_csv(p / 'index_label_to_hierarchical.csv')\n", "index_df = pd.read_csv(p / 'index.csv')" ] }, { "cell_type": "code", "execution_count": 23, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idlandmark_id
0fdf40612109ad17432888
15a6cc67c893daea6552
287b88acb68cdc1f113626
3c4ac217ce087b2518699
405f269bf32be9d3e30838
\n", "
" ], "text/plain": [ " id landmark_id\n", "0 fdf40612109ad174 32888\n", "1 5a6cc67c893daea6 552\n", "2 87b88acb68cdc1f1 13626\n", "3 c4ac217ce087b251 8699\n", "4 05f269bf32be9d3e 30838" ] }, "execution_count": 23, "metadata": {}, "output_type": "execute_result" } ], "source": [ "index_land_df.head()" ] }, { "cell_type": "code", "execution_count": 24, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
landmark_idcategory
00http://commons.wikimedia.org/wiki/Category:Sea...
11http://commons.wikimedia.org/wiki/Category:Fra...
22http://commons.wikimedia.org/wiki/Category:Rin...
33http://commons.wikimedia.org/wiki/Category:Tak...
44http://commons.wikimedia.org/wiki/Category:Iep...
\n", "
" ], "text/plain": [ " landmark_id category\n", "0 0 http://commons.wikimedia.org/wiki/Category:Sea...\n", "1 1 http://commons.wikimedia.org/wiki/Category:Fra...\n", "2 2 http://commons.wikimedia.org/wiki/Category:Rin...\n", "3 3 http://commons.wikimedia.org/wiki/Category:Tak...\n", "4 4 http://commons.wikimedia.org/wiki/Category:Iep..." ] }, "execution_count": 24, "metadata": {}, "output_type": "execute_result" } ], "source": [ "index_cat_df.head()" ] }, { "cell_type": "code", "execution_count": 25, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
landmark_idcategorysupercategoryhierarchical_labelnatural_or_human_made
00http://commons.wikimedia.org/wiki/Category:Sea...protected areaparksnatural
12http://commons.wikimedia.org/wiki/Category:Rin...lakelakenatural
23http://commons.wikimedia.org/wiki/Category:Tak...Shinto shrineshinto shrinehuman-made
35http://commons.wikimedia.org/wiki/Category:Puf...train serviceNaNNaN
48http://commons.wikimedia.org/wiki/Category:Pet...cemeterycemeteryhuman-made
\n", "
" ], "text/plain": [ " landmark_id category \\\n", "0 0 http://commons.wikimedia.org/wiki/Category:Sea... \n", "1 2 http://commons.wikimedia.org/wiki/Category:Rin... \n", "2 3 http://commons.wikimedia.org/wiki/Category:Tak... \n", "3 5 http://commons.wikimedia.org/wiki/Category:Puf... \n", "4 8 http://commons.wikimedia.org/wiki/Category:Pet... \n", "\n", " supercategory hierarchical_label natural_or_human_made \n", "0 protected area parks natural \n", "1 lake lake natural \n", "2 Shinto shrine shinto shrine human-made \n", "3 train service NaN NaN \n", "4 cemetery cemetery human-made " ] }, "execution_count": 25, "metadata": {}, "output_type": "execute_result" } ], "source": [ "index_hie_df.head()" ] }, { "cell_type": "code", "execution_count": 26, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
id
0fdf40612109ad174
15a6cc67c893daea6
287b88acb68cdc1f1
3c4ac217ce087b251
405f269bf32be9d3e
\n", "
" ], "text/plain": [ " id\n", "0 fdf40612109ad174\n", "1 5a6cc67c893daea6\n", "2 87b88acb68cdc1f1\n", "3 c4ac217ce087b251\n", "4 05f269bf32be9d3e" ] }, "execution_count": 26, "metadata": {}, "output_type": "execute_result" } ], "source": [ "index_df.head() # Useless" ] }, { "cell_type": "code", "execution_count": 27, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idlandmark_id
0fdf40612109ad17432888
15a6cc67c893daea6552
287b88acb68cdc1f113626
3c4ac217ce087b2518699
405f269bf32be9d3e30838
\n", "
" ], "text/plain": [ " id landmark_id\n", "0 fdf40612109ad174 32888\n", "1 5a6cc67c893daea6 552\n", "2 87b88acb68cdc1f1 13626\n", "3 c4ac217ce087b251 8699\n", "4 05f269bf32be9d3e 30838" ] }, "execution_count": 27, "metadata": {}, "output_type": "execute_result" } ], "source": [ "merge_4 = index_land_df.merge(index_cat_df.drop(columns=\"category\"), on='landmark_id')\n", "merge_4.head()" ] }, { "cell_type": "code", "execution_count": 28, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idlandmark_idcategorysupercategoryhierarchical_labelnatural_or_human_made
0fdf40612109ad17432888http://commons.wikimedia.org/wiki/Category:Mar...church buildingchurchhuman-made
15a6cc67c893daea6552http://commons.wikimedia.org/wiki/Category:St....area of Londoncityhuman-made
287b88acb68cdc1f113626http://commons.wikimedia.org/wiki/Category:Gov...househousehuman-made
3c4ac217ce087b2518699http://commons.wikimedia.org/wiki/Category:%C3...church buildingchurchhuman-made
405f269bf32be9d3e30838http://commons.wikimedia.org/wiki/Category:Nat...national parkparksnatural
\n", "
" ], "text/plain": [ " id landmark_id \\\n", "0 fdf40612109ad174 32888 \n", "1 5a6cc67c893daea6 552 \n", "2 87b88acb68cdc1f1 13626 \n", "3 c4ac217ce087b251 8699 \n", "4 05f269bf32be9d3e 30838 \n", "\n", " category supercategory \\\n", "0 http://commons.wikimedia.org/wiki/Category:Mar... church building \n", "1 http://commons.wikimedia.org/wiki/Category:St.... area of London \n", "2 http://commons.wikimedia.org/wiki/Category:Gov... house \n", "3 http://commons.wikimedia.org/wiki/Category:%C3... church building \n", "4 http://commons.wikimedia.org/wiki/Category:Nat... national park \n", "\n", " hierarchical_label natural_or_human_made \n", "0 church human-made \n", "1 city human-made \n", "2 house human-made \n", "3 church human-made \n", "4 parks natural " ] }, "execution_count": 28, "metadata": {}, "output_type": "execute_result" } ], "source": [ "final_index = merge_4.merge(index_hie_df, on='landmark_id')\n", "final_index.head()" ] }, { "cell_type": "code", "execution_count": 29, "metadata": {}, "outputs": [], "source": [ "cats_2 = final_index[\"category\"].str.split(\"Category:\").str[1]\n", "# sort = [unquote(c).strip(\"\\\"\").strip(\"'\").replace(\"_\", \" \") for c in cats_2]\n", "sort = cats_2\n", "final_index.loc[:, \"parsed_cats\"] = sort" ] }, { "cell_type": "code", "execution_count": 30, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idlandmark_idcategorysupercategoryhierarchical_labelnatural_or_human_madeparsed_cats
0fdf40612109ad17432888http://commons.wikimedia.org/wiki/Category:Mar...church buildingchurchhuman-madeMarb%C3%A4cks_kyrka,_Sm%C3%A5land
15a6cc67c893daea6552http://commons.wikimedia.org/wiki/Category:St....area of Londoncityhuman-madeSt._James's
287b88acb68cdc1f113626http://commons.wikimedia.org/wiki/Category:Gov...househousehuman-madeGovernment_House_(Saskatchewan)
3c4ac217ce087b2518699http://commons.wikimedia.org/wiki/Category:%C3...church buildingchurchhuman-made%C3%89glise_Saint-Georges_de_Lyon
405f269bf32be9d3e30838http://commons.wikimedia.org/wiki/Category:Nat...national parkparksnaturalNationalpark_Vadehavet
\n", "
" ], "text/plain": [ " id landmark_id \\\n", "0 fdf40612109ad174 32888 \n", "1 5a6cc67c893daea6 552 \n", "2 87b88acb68cdc1f1 13626 \n", "3 c4ac217ce087b251 8699 \n", "4 05f269bf32be9d3e 30838 \n", "\n", " category supercategory \\\n", "0 http://commons.wikimedia.org/wiki/Category:Mar... church building \n", "1 http://commons.wikimedia.org/wiki/Category:St.... area of London \n", "2 http://commons.wikimedia.org/wiki/Category:Gov... house \n", "3 http://commons.wikimedia.org/wiki/Category:%C3... church building \n", "4 http://commons.wikimedia.org/wiki/Category:Nat... national park \n", "\n", " hierarchical_label natural_or_human_made parsed_cats \n", "0 church human-made Marb%C3%A4cks_kyrka,_Sm%C3%A5land \n", "1 city human-made St._James's \n", "2 house human-made Government_House_(Saskatchewan) \n", "3 church human-made %C3%89glise_Saint-Georges_de_Lyon \n", "4 parks natural Nationalpark_Vadehavet " ] }, "execution_count": 30, "metadata": {}, "output_type": "execute_result" } ], "source": [ "final_index.head()" ] }, { "cell_type": "code", "execution_count": 31, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "36899" ] }, "execution_count": 31, "metadata": {}, "output_type": "execute_result" } ], "source": [ "len(set(index_land_df[\"landmark_id\"].dropna().unique().tolist()) - set(train_cats.keys()))" ] }, { "cell_type": "code", "execution_count": 32, "metadata": {}, "outputs": [], "source": [ "index_cats = save_classes(final_index[[\"landmark_id\", \"parsed_cats\"]].set_index(\"landmark_id\"))" ] }, { "cell_type": "code", "execution_count": 33, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "{0: 'Seal_Bay_Conservation_Park',\n", " 2: 'Ringsj%C3%B6n',\n", " 3: 'Takeda-jinja',\n", " 5: 'Puffing_Billy_Railway,_Melbourne',\n", " 8: 'Petersfriedhof_Salzburg',\n", " 9: 'New_Valamo',\n", " 11: 'T%C3%A5starps_kyrka',\n", " 14: 'Matcal_Tower',\n", " 15: 'Sacrario_militare_di_Castel_Dante',\n", " 16: 'Panorama_Observation_tower_(Chlebovice)',\n", " 18: 'Monte_Pellegrino_(Palermo)',\n", " 21: 'San_Bernardino_National_Wildlife_Refuge',\n", " 22: 'Abney_Park_Cemetery',\n", " 23: 'Simtuna_kyrka',\n", " 25: 'Burgruine_Thaur',\n", " 26: 'Quirinal_Palace',\n", " 28: 'Church_of_the_Dormition,_Ternopil',\n", " 30: 'Whiskeytown%E2%80%93Shasta%E2%80%93Trinity_National_Recreation_Area',\n", " 31: 'Palazzo_Giustiniani-Odescalchi_(Bassano_Romano)',\n", " 32: 'Illintsi_crater',\n", " 33: 'Hung_Shing_Temple,_Wan_Chai',\n", " 36: 'Derwent_Valley_Mills',\n", " 38: 'Laajasalo',\n", " 39: 'Ch%C3%A2teau_de_la_Beuvri%C3%A8re',\n", " 40: 'M%C3%BDtiny_(Harrachov)',\n", " 41: 'Biblioteca_Teresiana',\n", " 42: 'Sloss_Furnaces',\n", " 43: 'Nazran_Fortress',\n", " 45: 'Schloss_Wiesent',\n", " 46: 'Chocolate_Mountains',\n", " 48: 'Qingdao_Aquarium',\n", " 50: 'Bro_kyrka,_V%C3%A4rmland',\n", " 51: 'Palais_Bourbon',\n", " 52: 'Schloss_Stammheim_(K%C3%B6ln)',\n", " 54: 'Chakachamna_Lake',\n", " 55: 'Pandavleni_Caves',\n", " 56: 'Fort_Pontchartrain_du_D%C3%A9troit',\n", " 60: 'Saint_Hripsime_Armenian_Church,_Yalta',\n", " 61: 'S%C3%B6dra_H%C3%A4rene_kyrka',\n", " 62: 'Op%C3%A9ra_de_Marseille',\n", " 64: 'Mary_Magdalene_Chapel,_Cambridge',\n", " 65: 'Plateia_Aristotelous_(Thessaloniki)',\n", " 67: 'City_Hall_(Manchester,_New_Hampshire)',\n", " 68: 'Cape_Spear',\n", " 69: 'Adachi_Museum_of_Art',\n", " 70: 'Langinkoski',\n", " 71: 'Long_Branch_State_Park',\n", " 72: 'National_Defense_Academy_of_Japan',\n", " 73: 'Rocksj%C3%B6n',\n", " 75: '1st_MacArthur_Bridge',\n", " 76: 'Ustermer_Aa',\n", " 77: 'Middlesex_Canal',\n", " 78: 'Wye_Oak',\n", " 79: 'Mount_Kanpu_(Ehime_and_Kochi)',\n", " 80: 'Great_Onyx_Cave',\n", " 81: 'Estey_Tavern',\n", " 83: 'Dropmore_Park',\n", " 84: 'T%C3%A4llihorn_(Simplon)',\n", " 85: 'Naturpark_Schlaubetal',\n", " 86: 'Jahan_Kosha_Cannon',\n", " 89: 'Underfall_Yard',\n", " 90: 'Meiji_Jingu_Stadium',\n", " 92: 'Clock_tower_of_Komotini',\n", " 93: 'Throsby_Park',\n", " 94: 'Canton_Customs',\n", " 96: 'Stanford_Memorial_Church',\n", " 97: 'Ghirlandina_(Modena)',\n", " 100: 'Mammoth_Site,_Hot_Springs',\n", " 101: 'Parc_de_les_Aig%C3%BCes_(Barcelona)',\n", " 102: 'Lowry_Air_Force_Base',\n", " 103: \"Sant'Agostino_(Rieti)\",\n", " 104: 'Daniel_Webster_by_Thomas_Ball',\n", " 106: 'Ch%C3%A2teau_de_Raymontpierre',\n", " 108: 'Kokoda_Trail',\n", " 110: 'Mus%C3%A9e_Charles_de_Bruy%C3%A8res',\n", " 113: 'Museum_Nieder%C3%B6sterreich',\n", " 114: 'Church_of_the_Holy_Trinity_in_Dunilavi%C4%8Dy',\n", " 115: 'Marienkirche_(Freyburg,_Unstrut)',\n", " 116: 'Monte_Nuovo',\n", " 118: 'Airthrey_Castle',\n", " 119: 'The_Swarm_(roller_coaster)',\n", " 122: 'Cedarburg_Bog',\n", " 123: 'Independence_Monument,_Tashkent',\n", " 126: 'Insadong',\n", " 128: 'Fairfield_Industrial_Dog_Object',\n", " 129: 'Mus%C3%A9e_arch%C3%A9ologique_de_Narbonne',\n", " 130: 'Cinema_Coliseum',\n", " 133: 'Dreifelder_Weiher',\n", " 134: 'Maigm%C3%B3',\n", " 135: 'Mus%C3%A9e_du_Panth%C3%A9on_National_Ha%C3%AFtien',\n", " 136: \"Zedekiah's_Cave\",\n", " 137: 'Church_of_Saint_Bartholomew_(Hr%C3%A1dek_nad_Nisou)',\n", " 138: 'Museum_of_Nature_and_Humanity',\n", " 139: 'Salbatore_chapel,_Irati',\n", " 141: 'Montana_Territory',\n", " 142: 'Quai_de_Jemmapes_(Paris)',\n", " 143: 'Mont_des_Cats',\n", " 145: 'Horaiji',\n", " 147: 'Dorneck',\n", " 148: 'South_Bank_Lion',\n", " 149: 'Bryn_Euryn',\n", " 152: 'Maciej%C3%B3w_Palace',\n", " 154: 'Saint_Joseph_Church,_Ayutthaya',\n", " 157: 'Eureka,_California',\n", " 158: 'Manorbier_Castle',\n", " 160: 'Castell_de_Castellcir',\n", " 161: 'Tsromi_church',\n", " 162: 'Palace_of_Monterrey',\n", " 166: 'Yablunia_Koloniia',\n", " 168: 'Magnolia_Hotel_(Seguin,_Texas)',\n", " 169: 'Heritage_Exhibition_of_a_Traditional_Pawnshop_Business',\n", " 172: 'Mandlstein',\n", " 173: 'Madhabkunda_waterfall',\n", " 174: 'Bernina_railway',\n", " 175: \"The_Lord's_Ark_Church_of_Krak%C3%B3w\",\n", " 176: 'Murrayfield_Stadium',\n", " 177: 'Wye_Bridge,_Monmouth',\n", " 179: 'Las_Vegas_Motor_Speedway',\n", " 181: 'Immanuel_Presbyterian_Church_(Milwaukee)',\n", " 182: 'Lake_Harku',\n", " 183: 'Joensuu_Art_Museum',\n", " 184: 'Dundrum_Town_Centre',\n", " 185: 'Ploskovice_castle',\n", " 186: 'Radunia_Canal',\n", " 189: 'Dal%C3%A4lven',\n", " 190: 'Forte_Belvedere-Gschwendt',\n", " 191: 'L%C3%A4ngbro_kyrka',\n", " 192: 'Gertraudenbr%C3%BCcke',\n", " 193: 'First_Methodist_Church_of_Cleveland',\n", " 194: 'Haydn_Wohnhaus,_Mariahilf',\n", " 195: 'B%C3%B8yabreen',\n", " 197: 'Castello_di_Malpaga_(Cavernago)',\n", " 199: '915_Cathedral_St,_Baltimore',\n", " 200: 'Horstmannsbos',\n", " 201: 'Astoria_River',\n", " 202: 'Atat%C3%BCrk_Forest_Farm',\n", " 203: 'Karlskirche,_Vienna',\n", " 204: 'Spaso-Preobrazhensky_Monastery_(Staraya_Russa)',\n", " 205: 'Casula_Powerhouse',\n", " 206: 'Katajanokka',\n", " 207: 'Rauschen_water_tower',\n", " 208: 'Greenwood_Cemetery_(Atlanta)',\n", " 210: 'Latin_church_in_Prokuplje',\n", " 211: 'Church_of_Nativity_of_Theotokos_in_Old_Simonovo',\n", " 212: 'Plain_of_Vic',\n", " 213: 'Hobart_Building',\n", " 215: 'St.-Johannes-der-T%C3%A4ufer-Kirche_(Loxstedt)',\n", " 216: 'Manhyia_Palace',\n", " 219: 'Lake_Senba',\n", " 220: 'Boston_Aquarial_Gardens_(1859-1860)',\n", " 221: 'Lindenstumpf',\n", " 222: 'Audubon_National_Wildlife_Refuge',\n", " 223: 'Ohio_Savings_Plaza',\n", " 224: 'Castle_of_Santorcaz',\n", " 225: 'Ch%C3%A2teau_de_Virieu_(Loire)',\n", " 228: 'Park_Square,_Leeds',\n", " 229: 'Xpuhil',\n", " 231: 'Boston_City_Hall',\n", " 234: 'Mozart-Brunnen',\n", " 235: 'Musikmuseum,_Basel',\n", " 236: 'Suzzallo_Library',\n", " 237: 'Bourne_Wood',\n", " 238: 'Parnas_Fountain',\n", " 239: 'Fort_James_Jackson',\n", " 241: 'Hottentots_Holland_Mountains',\n", " 242: 'Mogollon_Mountains',\n", " 245: 'Cri%C8%99_County_Museum',\n", " 247: 'Pfarrkirche_am_Sch%C3%BCttel',\n", " 248: 'Schutzengelkirche_Br%C3%BChl',\n", " 249: 'Kazansky_Ioanno-Predtechensky_Monastery',\n", " 250: 'Du_Fu_Thatched_Cottage',\n", " 251: 'Museum_of_Zoology_(Saint_Petersburg)',\n", " 253: 'Jardin_du_Roi/Koningstuin,_Brussels',\n", " 254: 'Sollyckans_kyrka',\n", " 256: 'Sint-Vincentiuskerk_(Amsterdam)',\n", " 260: 'Art_Gallery_of_South_Australia',\n", " 262: 'Flohmarkt_(Hannover)',\n", " 264: 'Lake_Texoma',\n", " 266: 'St._Petri_(Melle)',\n", " 267: 'Fedotova_Spit',\n", " 270: 'Ocean_Parkway_(Brooklyn)',\n", " 271: 'Onze_Lieve_Vrouwe_van_Altijddurende_Bijstand_(Bussum)',\n", " 272: 'Parc_Saint-Pierre_(Amiens)',\n", " 275: 'Toter_Mann_(Berchtesgaden_Alps)',\n", " 276: 'Chadds_Ford_Historic_District',\n", " 277: \"T%C3%A9l%C3%A9ph%C3%A9rique_de_l'Aiguille_du_Midi\",\n", " 278: 'W%C3%B6rth_(Danube)',\n", " 281: 'West_Lake_(Hanoi)',\n", " 283: 'Bindeballe_Station',\n", " 284: 'Belle_Harbor,_Queens',\n", " 285: 'Hochseiler',\n", " 286: 'Bogor_Palace',\n", " 287: 'Okinotorishima',\n", " 288: 'Wentworth-Coolidge_Mansion',\n", " 290: 'Astuvansalmi_rock_paintings',\n", " 291: 'Church_of_El_Salvador,_Talavera_de_la_Reina',\n", " 292: 'Shri_Swaminarayan_Mandir,_Karachi',\n", " 293: '%C3%96rens_naturreservat',\n", " 294: 'North_Cape,_Prince_Edward_Island',\n", " 295: 'Kleinkastell_H%C3%B6nehaus',\n", " 298: 'Church_Street,_Monmouth',\n", " 301: 'King_William_Street,_Adelaide',\n", " 302: 'Obere_Pfarre_(Bamberg)',\n", " 303: 'Penn_School_Historic_District',\n", " 305: 'Beijing_Workers_Stadium',\n", " 308: 'Sachsenhausen_concentration_camp',\n", " 309: 'Silvbergs_socken',\n", " 310: '%C3%89glise_Saint-G%C3%A9ry',\n", " 313: 'San_Felipe_de_Neri_Church',\n", " 315: 'Balkhash-9',\n", " 316: 'Schloss_Seeburg_(Hassegau)',\n", " 317: 'Fischmarktplatz_(Rapperswil)',\n", " 318: 'Flensburg_harbour',\n", " 319: 'Mus%C3%A9e_Herg%C3%A9',\n", " 321: 'Engervannet',\n", " 323: 'Circus_of_Maxentius_(Rome)',\n", " 324: 'Hochk%C3%BCnzelspitze',\n", " 325: 'Sistine_Chapel_-_Last_Judgment',\n", " 326: 'Intercession_Monastery_(Verkhoturie)',\n", " 327: 'Pac_Palace_in_Vilnius',\n", " 328: 'Wheeling_Suspension_Bridge',\n", " 329: 'Tomb_of_Simeon_bar_Yochai',\n", " 332: 'Santa_Maria_Maggiore_(Trieste)',\n", " 334: 'Clearwater_Beach,_Florida',\n", " 338: '1_New_York_Plaza',\n", " 339: 'Windm%C3%BChle_Bentorf',\n", " 341: 'Standing_Lincoln',\n", " 343: 'Museum_Schloss_F%C3%BCrstenberg',\n", " 345: 'Alte_Br%C3%BCcke_(Heidelberg)',\n", " 346: 'Fondouk_el-Nejjarine',\n", " 347: 'Casa-Museu_Verdaguer',\n", " 351: '1900_Building_(Melbourne,_Florida)',\n", " 352: 'Church_of_Nuestra_Se%C3%B1ora_de_la_O,_Sanl%C3%BAcar_de_Barrameda',\n", " 353: 'Teatro_Sal%C3%B3n_Cervantes',\n", " 354: 'Cath%C3%A9drale_Notre-Dame_de_Verdun',\n", " 355: 'Kloster_Hardehausen',\n", " 356: 'Gotthard_Road_Tunnel',\n", " 357: \"Place_d'Albertas\",\n", " 359: 'Punta_Garin',\n", " 360: 'Mount_Magazine_State_Park',\n", " 362: 'Museum_of_Ceramics',\n", " 363: 'Torre_HSBC_(Mexico_City)',\n", " 364: 'Palacete_Pinto_Leite',\n", " 365: 'Beginning_Point_of_the_U.S._Public_Land_Survey',\n", " 366: 'Holy_Myrrhbearers_Cathedral_(Baku)',\n", " 370: 'Selby_Abbey',\n", " 371: 'Motsameta_monastery',\n", " 372: \"Ponte_Sant'Angelo_(Rome)\",\n", " 374: 'Schloss_Kammerberg',\n", " 375: 'Dmitrovsky_Monastery_in_Kashin',\n", " 376: 'Toga_Shrine',\n", " 378: 'Schellenberger_Eish%C3%B6hle',\n", " 379: 'Wimbledon_Windmill',\n", " 380: 'Vogtland_Arena',\n", " 381: 'Consulate_General_of_the_United_States_in_Hamburg',\n", " 382: 'H%C3%B4tel_Dahus',\n", " 383: \"Saint_Peter's_Church_(Mansfield,_Ohio)\",\n", " 384: 'Eulenburg_(Rinteln)',\n", " 385: 'V%C3%A5rdinge_kyrka',\n", " 386: 'Sacrower_See',\n", " 387: 'Towson_United_Methodist_Church',\n", " 389: 'Mount_Sahand',\n", " 390: 'Jardin_botanique_de_Montr%C3%A9al',\n", " 392: 'Schloss_Riede',\n", " 393: 'Nanzo-in_(Toshima,_Tokyo)',\n", " 394: 'Kaikoura_Ranges',\n", " 396: 'Jokioinen_Church',\n", " 398: 'Castle_of_Torrelobat%C3%B3n',\n", " 399: 'Mettenberg',\n", " 400: 'Russian_Saint_Nicholas_Church_(Bucharest)',\n", " 401: 'Stalag_Luft_III',\n", " 404: 'Pont_des_Invalides',\n", " 408: 'Hansen_Hospital',\n", " 409: 'Remuh_Synagogue_of_Kazimierz,_Krak%C3%B3w',\n", " 411: 'Harju-Risti_Church',\n", " 412: 'Badisches_Staatstheater_Karlsruhe',\n", " 413: \"Piazza_Duca_d'Aosta_(Milan)\",\n", " 414: 'Gryllefjorden',\n", " 416: 'Church_of_St._Archangel_Gabriel_(Belgrade)',\n", " 417: 'Naval_Stores,_Kangaroo_Point',\n", " 418: 'Le_Valinou%C3%ABt',\n", " 420: 'G._M._C._Balayogi_Athletic_Stadium',\n", " 422: 'Schloss_D%C3%BCneck',\n", " 425: 'Castro_de_Baro%C3%B1a',\n", " 428: 'Oriental_Institute,_Chicago',\n", " 430: 'Shipka_Monument',\n", " 431: 'Daiju-ji',\n", " 432: 'Museo_Aeron%C3%A1utico_de_la_Fuerza_A%C3%A9rea_Uruguaya',\n", " 433: 'Park_Tower_(Chicago)',\n", " 434: 'Laughery_Creek_Bridge',\n", " 435: 'USS_Nautilus_(SSN-571)',\n", " 436: 'St._Germanus_(Wesseling)',\n", " 437: \"%C3%89cole_fran%C3%A7aise_d'Extr%C3%AAme-Orient\",\n", " 440: \"Glynd%C5%B5r's_Way\",\n", " 441: 'Piz_Daint',\n", " 442: 'Saltee_Islands',\n", " 443: \"St._Mary's_Episcopal_Cathedral_in_Memphis\",\n", " 444: 'St._Nikolaus_(Siegenburg)',\n", " 446: 'Naturschutzgebiet_St%C3%B6cklw%C3%B6rth',\n", " 447: 'Davik_kirke',\n", " 448: 'Aiud_Castle',\n", " 450: 'Greifswald_Dom',\n", " 452: 'Wallfahrtskirche_St._Bartholom%C3%A4',\n", " 453: 'Lagunas_de_Montebello_National_Park',\n", " 455: 'Gustav_Adolfs_kyrka,_Sundsvall',\n", " 456: 'Kossakowski_Palace_in_Warsaw',\n", " 457: 'The_Peninsula_Bangkok',\n", " 458: 'Oslofjorden',\n", " 459: 'Roberts_Orpheum_Theater,_St._Louis',\n", " 460: 'Prachechny_Bridge',\n", " 461: 'Freedom_Avenue_(Kaunas)',\n", " 462: 'Canterbury_Museum',\n", " 464: 'Baiturrahman_Mosque',\n", " 465: 'Whitland_Abbey',\n", " 467: 'Estadio_Jalisco',\n", " 469: 'St._Marien_(Herford)',\n", " 471: 'Gali%C4%8Dica',\n", " 472: 'Au_Peninsula',\n", " 473: 'Dome_of_the_Rock',\n", " 474: 'Church_of_the_Good_Shepherd,_Brighton',\n", " 476: 'Den_Ham_(Vleuten)',\n", " 477: \"Kit's_Coty_House\",\n", " 478: 'Caird_Hall,_Dundee',\n", " 480: 'Protestant_Church_(Honrath)',\n", " 481: 'Adelaide_Gaol',\n", " 484: 'Jeongdongjin_Station',\n", " 485: 'Shrine_of_Our_Lady_of_Martyrs_(Auriesville,_New_York)',\n", " 487: 'San_Fedele_(Milan)',\n", " 489: 'Burgruine_Wasdow',\n", " 491: 'Wankhede_Stadium',\n", " 496: '%C3%89glise_Notre-Dame-du-Lac',\n", " 497: 'Byland_Abbey',\n", " 498: 'Borl_Castle',\n", " 499: 'Albula_line',\n", " 501: 'AquaDom',\n", " 502: \"Xi'an_Drum_Tower\",\n", " 503: 'Gilman_Garrison_House',\n", " 505: \"Mus%C3%A9e_de_l'Elys%C3%A9e\",\n", " 506: 'Three_Tree_Point',\n", " 507: 'Monument_Park_(Yankee_Stadium)',\n", " 509: 'Japantown,_San_Francisco',\n", " 510: 'Bunge_Museum',\n", " 512: 'Elbrus',\n", " 513: 'Vrbensk%C3%A9_rybn%C3%ADky',\n", " 514: 'Arnold-Janssen-Kirche_(Goch)',\n", " 516: 'Deutsches_Zollmuseum',\n", " 518: 'Embassy_of_Sweden,_Washington,_D.C.',\n", " 519: 'Castell_de_Sant_Ferran_(Alacant)',\n", " 522: 'Avon_Gorge',\n", " 523: 'Shabakunk_Creek',\n", " 524: 'Dalstorps_kyrka',\n", " 527: 'Church_of_Nossa_Senhora_do_Ros%C3%A1rio_(Velas)',\n", " 528: 'Progressive_Field',\n", " 529: 'Port_of_Batangas',\n", " 531: 'Nantucket_National_Wildlife_Refuge',\n", " 532: 'Verrazzano-Narrows_Bridge',\n", " 533: 'Tunkhannock_Viaduct',\n", " 534: 'Sayyeda_Ruqayya_Mosque',\n", " 535: 'Vje%C4%8Dna_vatra',\n", " 536: 'All_Saints_Church,_Warsaw',\n", " 537: 'Holy_Trinity_Church_(B%C4%9Bha%C5%99ovice)',\n", " 539: 'Mount_Korenge',\n", " 540: 'Augustana_College_(Illinois)',\n", " 541: 'Burgruine_Gilgenberg',\n", " 543: 'Evangelische_Kirche_Darmstadt-Wixhausen',\n", " 544: 'Astronomical_Observatory,_Kyiv_Shevchenko_National_University',\n", " 545: \"Titanic_Engineers'_Memorial,_Southampton\",\n", " 546: 'Schloss_Wil',\n", " 547: 'Rommele_kyrka',\n", " 548: 'Bendigo_Art_Gallery',\n", " 549: 'Wat_Lok_Molee',\n", " 552: \"St._James's\",\n", " 555: 'Front_de_Seine',\n", " 556: 'Tour_of_the_Universe',\n", " 558: 'Owens_Lake',\n", " 559: 'Jabal_Arkanu',\n", " 562: 'Eigelsteintorburg',\n", " 563: 'Monastery_of_San_Benito,_Sahag%C3%BAn',\n", " 564: 'Lac_de_Bareilles',\n", " 567: 'Yau_Ma_Tei_Market',\n", " 568: 'Kennington,_London',\n", " 569: 'Mount_Wilis',\n", " 570: 'Drei_Heilige_Pf%C3%BChle',\n", " 571: 'Missouri_River_Headwaters_State_Park',\n", " 572: 'R%C3%ADa_del_Eo',\n", " 573: 'Villa_Tempe_a_paia',\n", " 577: \"St_Nicolas'_Church,_Pevensey\",\n", " 578: 'H%C3%B8rup_Kirke_(Als)',\n", " 579: 'Union_Pearson_Express',\n", " 580: 'San_Bernardino_(Perugia)',\n", " 582: 'Bois_du_Cazier',\n", " 583: 'Daskalakis_Athletic_Center',\n", " 584: 'El_Yunque_National_Forest',\n", " 585: 'Meta_sudans_(Rome)',\n", " 586: 'Synagogue_in_Bydgoszcz',\n", " 587: 'Mount_Makihata',\n", " 588: 'Narrenturm',\n", " 589: 'Kloster_Graefenthal',\n", " 590: 'Gro%C3%9Fsteingrab_Drosa',\n", " 592: 'Murray_City_Park',\n", " 594: 'Hyde_Park,_London',\n", " 596: 'Villa_Volta',\n", " 597: 'Hietaniemi_cemetery',\n", " 598: 'Hochlantsch',\n", " 599: 'Pont_Vell_de_Manresa',\n", " 601: 'Palmer_Memorial_Hall_(Palmer,_Massachusetts)',\n", " 604: 'Verteba',\n", " 606: 'Hvidbjerg_Kirke_(Struer_Kommune)',\n", " 607: 'Vai_Beach',\n", " 611: 'Ponte_Romano_di_Solest%C3%A0',\n", " 613: 'Peavey_Plaza',\n", " 614: 'Cheaha_Mountain',\n", " 617: 'Stadthauptpfarrkirche_hl._Egid,_Klagenfurt',\n", " 623: 'Revere_Beach',\n", " 624: 'J%C3%BCdischer_Friedhof_Bad_Buchau',\n", " 628: 'Shamian_Island',\n", " 631: 'Church_in_Chemnitz_(Blankenhof)',\n", " 632: 'Bab_Zuwayla',\n", " 633: 'Butte_Creek_(California)',\n", " 634: 'H%C3%B6heberg_(Krombach)',\n", " 636: 'Kamienna_G%C3%B3ra_Castle',\n", " 638: 'Kuromata_Dam',\n", " 642: 'Tai_Shui_Hang_Bicycle_Park',\n", " 643: 'Biblioteca_de_Castilla_y_Le%C3%B3n',\n", " 645: 'Stavns_Fjord',\n", " 646: 'Universalist_Church_of_Westfield_Center',\n", " 647: 'Faro_de_Cabo_de_Palos',\n", " 648: 'Protestant_Church_(Behrenhoff)',\n", " 649: 'Site_of_Bethune_Model_Hospital',\n", " 653: 'Waukegan_Harbor_Lighthouse',\n", " 654: 'All_Saints_church,_Huntingdon',\n", " 657: 'Kassari',\n", " 658: 'St._Johannes_Baptist_(Stukenbrock)',\n", " 661: 'Malek_National_Museum_and_Library',\n", " 662: 'Ch%C5%8Dfuku-ji_(Mimasaka)',\n", " 663: \"Ancien_phare_de_Penmarc'h\",\n", " 664: 'Hebgen_Lake',\n", " 665: 'Burg_Ardeck',\n", " 666: 'Sangiang',\n", " 667: 'Borze%C8%99ti_Church',\n", " 668: 'Estadio_Las_Gaunas',\n", " 669: 'Orto_botanico_di_Pisa',\n", " 670: 'Curonian_Spit',\n", " 672: 'Subiaco_Oval',\n", " 674: 'Kirche_des_Guten_Hirten_(Guben)',\n", " 675: 'Fremantle_Markets',\n", " 676: 'Dutch_Island_Light',\n", " 677: 'Fort_Sumter',\n", " 679: \"Nahum_Gutman's_Museum\",\n", " 680: 'Michigan_Island_Light',\n", " 681: 'Cathedral_of_Chihuahua',\n", " 682: 'Ponte_dei_Tre_Archi_(Venice)',\n", " 683: 'Val_Trompia',\n", " 686: 'Baracke_Wilhelmine',\n", " 687: 'The_Catlins',\n", " 688: 'Franciscan_monastery_(Orebi%C4%87)',\n", " 689: 'Hunebed_D41_in_Emmen_noord',\n", " 690: 'Leopoldskazerne',\n", " 693: 'T%C3%A5ssj%C3%B6_kyrka',\n", " 699: 'Our_Lady_Queen_of_Poland_church_in_Modry%C5%84',\n", " 700: 'Sint-Franciscuskerk_(Oudewater)',\n", " 701: 'House-museum_of_Alexandr_Ostrovsky',\n", " 703: 'Saint_Nicholas_of_Tolentino_Temple_and_Convent_of_Actopan',\n", " 704: 'Restormel_Castle',\n", " 705: 'Madonna_del_Roseto_(Solopaca)',\n", " 706: 'Federal_Land_Office_(Steubenville)',\n", " 707: 'Tour_de_la_Part-Dieu',\n", " 708: 'Pfarrkirche_Josefsberg',\n", " 709: 'Chimborazo',\n", " 710: 'Neues_Rathaus_(Hannover)',\n", " 711: 'Leeds_Civic_Hall',\n", " 712: 'Dundas_Aqueduct',\n", " 713: 'Wiertz_Museum',\n", " 714: 'Puente_de_la_Rabia',\n", " 715: 'Church_of_the_Annunciation',\n", " 716: 'Saint_Gevorg_Armenian_Church,_Old_Tbilisi',\n", " 717: 'Newport_Beach_California_Temple',\n", " 719: 'USS_Cobia_(SS-245)',\n", " 720: 'Westpark_(Aachen)',\n", " 721: 'Dorfkirche_Suckow',\n", " 724: 'Wassenaarse_Slag',\n", " 725: 'Peach_Springs_Trading_Post',\n", " 726: 'Kuramae_Bridge',\n", " 727: 'United_Brethren_Church_(Aurora,_Nebraska)',\n", " 728: \"Monastero_di_San_Nicol%C3%B2_l'Arena_(Catania)\",\n", " 729: 'Grand_Turk_Lighthouse',\n", " 731: 'Mission_San_Cayetano_de_Calabazas',\n", " 734: 'Gurs_internment_camp',\n", " 735: 'Mount_Konbu',\n", " 736: 'Flintholm_Kirke',\n", " 737: 'Hermitage_Amsterdam',\n", " 738: 'Mariakyrkan,_G%C3%B6teborg',\n", " 739: 'C%C3%B9l_M%C3%B2r',\n", " 740: 'Tschingelh%C3%B6rner',\n", " 741: 'Church_of_the_Corpus_Christi_in_Ika%C5%BA%C5%84',\n", " 743: 'Theresienstein',\n", " 745: 'St._Mary_of_the_Immaculate_Conception_Church_(Morges,_Ohio)',\n", " 746: 'Knox_Church,_Christchurch',\n", " 748: 'Krasnaya_Presnya_Park',\n", " 751: 'Kn%C3%BCllgebirge',\n", " 752: 'Lake_S%C3%A4%C3%A4ksj%C3%A4rvi_(Kokem%C3%A4ki)',\n", " 753: 'Elizabeth_River_(Virginia)',\n", " 754: \"Ch%C3%A2teau_d'Urville\",\n", " 756: 'Kulykove_Pole,_Odessa',\n", " 757: 'Zinkensdamms_IP',\n", " 759: 'Augustenborg_Slot',\n", " 760: 'Ski_kirke',\n", " 761: 'V%C3%A4stersj%C3%B6n,_Sk%C3%A5ne',\n", " 764: 'Tikhonova_pustyn',\n", " 765: 'Farol_de_Cacilhas',\n", " 766: 'Julierpass',\n", " 767: 'Pal%C3%A1cio_Anchieta_(Vit%C3%B3ria)',\n", " 768: \"St_John's_Church,_Chester\",\n", " 769: 'Bargerveen',\n", " 770: 'J%C3%BCdischer_Friedhof_M%C3%BCnster',\n", " 771: 'Bogdo-Baskunchak_Nature_Reserve',\n", " 773: 'Kotsujidoyuen_(Kasugai)',\n", " 774: 'Museum_f%C3%BCr_Neue_Kunst_(Freiburg_im_Breisgau)',\n", " 775: 'Justizvollzugsanstalt_M%C3%BCnchen',\n", " 776: 'Stockwell',\n", " 778: 'Harahan_Bridge',\n", " 780: 'Lungomare,_Opatija_Riviera',\n", " 781: 'Cable_cars_in_San_Francisco',\n", " 782: 'Corris_Railway',\n", " 784: 'Harwich_Redoubt',\n", " 785: 'Walden_7',\n", " 786: 'Municipal_Hall_of_Puebla_City',\n", " 787: 'Goseck_circle',\n", " 791: 'St._Lambertus_(Mingolsheim)',\n", " 792: 'Slatinn%C3%A1_louka_u_Liblic',\n", " 793: 'Mount_Bigelow',\n", " 795: 'Place_du_March%C3%A9-Sainte-Catherine_(Paris)',\n", " 796: 'Dokumentationszentrum_Reichsparteitagsgel%C3%A4nde',\n", " 797: 'Museu_de_Cultures_del_M%C3%B3n',\n", " 798: 'St._Mauritiuskirche_(Hittfeld)',\n", " 799: 'Hollywood_Reservoir',\n", " 800: 'Glenveagh',\n", " 801: 'Strata_Florida_Abbey',\n", " 802: 'Jamaica_Bay_Wildlife_Refuge',\n", " 804: 'HMS_Erebus_(ship,_1826)',\n", " 807: '107th_U.S._Infantry_Memorial_(Central_Park)',\n", " 808: 'Yokosuka_Museum_of_Art',\n", " 809: 'Wetterhorn',\n", " 811: 'Markt_64,_Steenwijk',\n", " 812: 'Mount_Longonot',\n", " 813: 'Dippelsdorfer_Teich',\n", " 814: 'Zachatskaya_Tower_of_Nizhny_Novgorod_Kremlin',\n", " 816: 'Schloss_Wilfersdorf',\n", " 817: 'Czocha_Castle',\n", " 819: 'Plaza_de_San_Jorge,_C%C3%A1ceres',\n", " 821: 'Nyoigatake',\n", " 823: 'Lexington_Reservoir',\n", " 824: 'George_M._Holmes_Convocation_Center',\n", " 825: 'Ferdinand_Magellan_Railcar',\n", " 828: 'Museo_de_Cera_Veracruz',\n", " 829: 'Evangelical_Cathedral,_Sibiu',\n", " 830: 'Kentwell_Hall',\n", " 831: 'Abbey_Road',\n", " 832: 'Moyns_Park',\n", " 834: 'Pokrovsky_Monastery_(Moscow)',\n", " 835: 'Wada-jinja_(Kobe)',\n", " 836: 'Fanefjord_Kirke',\n", " 838: 'Swan_River,_Western_Australia',\n", " 840: 'St._Martin_(Daiting)',\n", " 841: 'Lake_Kezanoiam',\n", " 842: 'Ch%C3%A2teau_de_Bois-Rouaud',\n", " 843: 'Finnbergets_luftv%C3%A4rnsst%C3%A4llning',\n", " 844: 'Tune_kirke',\n", " 845: 'Gomaringen_Castle',\n", " 846: 'Catedral_Nuestra_Se%C3%B1ora_de_la_Asunci%C3%B3n_(Santiago_de_Cuba)',\n", " 847: 'Old_City_(Knoxville)',\n", " 848: 'Wymondham_Abbey',\n", " 850: 'Uppark',\n", " 851: 'Yanaida_Nunooyama_Kofun',\n", " 852: \"Col_de_l'Iseran\",\n", " 853: 'Miedziane',\n", " 854: 'Passeio_P%C3%BAblico_(Fortaleza)',\n", " 855: 'Prie%C3%9Fnitz_(Elbe)',\n", " 856: 'Belleview-Biltmore_Hotel',\n", " 857: 'Ripaljka',\n", " 858: '%C3%89glise_Saint-Jean_de_Strasbourg',\n", " 859: 'Star%C3%A1_hu%C5%A5_(Adamov)',\n", " 860: 'White_House_Kitchen_Garden',\n", " 862: 'Fujisaki-hachimangu',\n", " 864: 'Sundarbans',\n", " 865: 'Valiasr_Street',\n", " 866: 'Saint_Patrick_Church_(Lowell,_Massachusetts)',\n", " 867: 'Hippodrome_de_Boitsfort',\n", " 869: 'Linville_Falls',\n", " 870: 'Walpole_Meetinghouse',\n", " 871: 'Opernhaus_Leipzig',\n", " 873: 'Detroit_City_Hall',\n", " 874: 'Daugavpils_fortress',\n", " 876: 'Uzhok_pass',\n", " 877: 'Kiltsi_manor',\n", " 878: 'Georgenkirche_Waren',\n", " 881: 'Sophienberg_Palace',\n", " 883: 'Basilica_di_Superga_(Turin)',\n", " 884: 'Lincoln_National_Forest',\n", " 885: 'Zoo_Heidelberg',\n", " 888: 'Tomb_of_the_prophets_Haggai_and_Malachi',\n", " 889: 'Letitia_Street_House,_Philadelphia',\n", " 890: 'M%C3%BAzeum_Tatransk%C3%A9ho_n%C3%A1rodn%C3%A9ho_parku',\n", " 891: 'Pukapuka',\n", " 892: 'Presbyterian_Church_on_Edisto_Island',\n", " 893: 'Monnaie_de_Paris',\n", " 894: 'Z%C3%A1b%C5%99eh_(Ostrava)',\n", " 896: 'Seongnam_Sports_Complex',\n", " 897: 'Perge',\n", " 898: 'Lawrence_Joel_Veterans_Memorial_Coliseum',\n", " 900: 'Plattenburg_(Burg)',\n", " 901: 'Reformierte_Kirche_Cronenberg',\n", " 902: 'Museo_de_Arte_de_Ponce',\n", " 904: 'St._Magnus_(Esens)',\n", " 905: 'Sint-Martinuskerk_(Overijse)',\n", " 907: 'St.-Ulrichs-Kirche_(Rastede)',\n", " 909: 'Dunstaffnage_Castle',\n", " 910: 'Badesee_Wei%C3%9Flahn',\n", " 911: 'Silcher-Museum',\n", " 912: 'Potseluev_Bridge',\n", " 913: 'Blue_Ridge_Music_Center',\n", " 914: 'Maria_Opferung_(Riezlern)',\n", " 917: 'Tune_ship',\n", " 918: 'Southern_African_Large_Telescope',\n", " 920: 'Museo_de_San_Miguel_de_Azapa',\n", " 923: 'Razgulyai_Palace',\n", " 925: 'Takayama_Chikurin_En',\n", " 928: 'Great_Peace_Prayer_Tower',\n", " 929: 'Butlins_Bognor',\n", " 933: 'Kopaonik',\n", " 935: 'Can_Tho_Bridge',\n", " 943: 'Evangelische_Kirche_der_Pfalz',\n", " 945: 'Royal_Castle_in_Pozna%C5%84',\n", " 946: 'Castle_of_Daroca',\n", " 947: 'Museum_Kitzb%C3%BChel',\n", " 949: 'Singapore_Art_Museum',\n", " 950: 'Queen_Victoria_Market',\n", " 951: 'Bernardine_Cemetery_in_Vilnius',\n", " 953: 'Golden_Cap',\n", " 955: 'Evangelische_Kirche_Hausberge',\n", " 956: 'Melanchthonhaus_Wittenberg',\n", " 957: \"Grim's_Dyke\",\n", " 958: 'Beachy_Head',\n", " 959: 'Amphitheatre_(Pompeii)',\n", " 960: 'Rute_kyrka',\n", " 961: 'LeVeque_Tower',\n", " 963: 'Pfarrkirche_hl._Stephan_Weistrach',\n", " 964: 'Basilique_Saint-Aphrodise_de_B%C3%A9ziers',\n", " 966: 'Ogr%C3%B3d_Bajek_w_Mi%C4%99dzyg%C3%B3rzu',\n", " 967: 'Rundsilo_(Eckernf%C3%B6rde)',\n", " 968: 'Lutherse_Kerk_(Utrecht)',\n", " 969: 'Sphinx_Observatory',\n", " 970: 'Mi%C4%B7e%C4%BCb%C4%81ka',\n", " 971: 'Gypsy_Moth_IV_(ship,_1967)',\n", " 972: \"St._James's_Cathedral,_Riga\",\n", " 973: 'Grand_Hotel_Terminus,_Bergen',\n", " 974: 'Minsheng_Bank_Building',\n", " 975: 'Koufonisi',\n", " 978: 'Barmsteine',\n", " 980: 'Evergreen_Hamlet',\n", " 981: 'Park_300_Years_of_Saint_Petersburg',\n", " 982: 'Hakkoda_Maru_(ship,_1964)',\n", " 983: 'Castel_San_Pietro_(Verona)',\n", " 985: 'Tennessee_State_Prison',\n", " 986: 'Orthodox_cemetery_in_Kalisz',\n", " 987: 'Mendocino_Coast_Botanical_Gardens',\n", " 988: 'Mori-shogunzuka-kofun',\n", " 989: 'Uji_Bridge',\n", " 990: 'Tor_der_Hoffnung',\n", " 991: 'Edificio_Libertador',\n", " 992: 'Stringed_Instruments_Museum',\n", " 993: 'Auditorio_y_Palacio_de_Congresos_El_Batel',\n", " 994: 'Christ_Church,_Macclesfield',\n", " 995: 'Wrangel_Tower,_Kaliningrad',\n", " 996: 'Rifnik_Castle',\n", " 997: 'H%C3%B4tel_Scipion',\n", " 1000: 'Egmont_Park',\n", " 1001: 'Schwarzh%C3%B6lzl',\n", " 1004: 'Varaita_Valley',\n", " 1005: 'Wel_Landscape_Park',\n", " 1006: 'J%C3%A4gersee_(Kleinarl)',\n", " 1009: 'Usui_Pass_Railway_Heritage_Park',\n", " 1010: 'Mount_Okudainichi',\n", " 1014: 'B%C3%B6rshuset,_G%C3%B6teborg',\n", " 1016: 'Stammhaus_Krupp',\n", " 1017: 'Richard_Alsop_IV_House',\n", " 1019: 'Schloss_Hetzendorf',\n", " 1020: 'Javakheti_National_Park',\n", " 1021: 'Dancing_Forest',\n", " 1024: 'Ponte_16_Resort_Macau',\n", " 1029: 'Rock_Harbor_Lighthouse',\n", " 1030: 'Amalienbad',\n", " 1031: 'Jewett_City,_Connecticut',\n", " 1034: 'Church_of_San_Cebri%C3%A1n_de_Mazote',\n", " 1036: 'Ersheimer_Kapelle',\n", " 1038: \"%C3%89glise_Saint-Just_d'Arbois\",\n", " 1039: 'Castell_de_Biar',\n", " 1040: 'Castello_di_Ch%C3%A2telard',\n", " 1041: 'Castillo_de_los_V%C3%A9lez,_Mula',\n", " 1042: 'Schloss_Vinsebeck',\n", " 1044: 'Pfarrkirche_Altsimmering',\n", " 1046: 'Paseo_C%C3%ADvico_de_Tacna',\n", " 1048: 'Volga_Hydroelectric_Station',\n", " 1050: 'Edgar_Allan_Poe_Cottage',\n", " 1052: 'Tampere_Hall',\n", " 1054: 'Biblioteca_Civica_(Bergamo)',\n", " 1055: 'Holyoke_Dam',\n", " 1056: 'Beinn_Narnain',\n", " 1057: 'Cumberland_Narrows',\n", " 1058: 'Palais_de_la_Nation_(Bruxelles)',\n", " 1059: 'Blanice_(S%C3%A1zava_tributary)',\n", " 1060: 'Halen',\n", " 1061: 'Sasago_Pass',\n", " 1062: 'Anklam_Gate_of_Usedom_City',\n", " 1063: 'Krippenmuseum_Oberstadion',\n", " 1064: 'Building_of_Twelve_Collegiums',\n", " 1065: 'Onslow_Beach',\n", " 1067: 'Hungars_Church',\n", " 1072: 'Kaiparowits_Plateau',\n", " 1073: 'Lake_Lemon',\n", " 1074: 'Phare_de_la_H%C3%A8ve',\n", " 1076: 'Hjo_kyrka',\n", " 1080: 'Burg_Plesse',\n", " 1082: 'Museum_of_Regional_History_(Texarkana,_Texas)',\n", " 1085: 'Putney',\n", " 1086: 'Bunker_(Berlin)',\n", " 1087: 'Niederwalddenkmal',\n", " 1089: 'Museo_de_anclas_Philippe_Cousteau',\n", " 1090: 'Immanuels_kirke_(Halden)',\n", " 1091: \"Sant'Andrea_(Pistoia)\",\n", " 1092: \"St._Edmund's_Church,_Oslo\",\n", " 1093: 'Catedral_de_San_Juan',\n", " 1095: 'Pulitzer_Fountain',\n", " 1096: 'Ch%C3%A2teau_Ksara',\n", " 1097: 'Heunens%C3%A4ule_(Mainz)',\n", " 1099: 'Nez_Coup%C3%A9_du_Tremblet',\n", " 1100: 'Bas%C3%ADlica_de_Nuestra_Se%C3%B1ora_de_los_Remedios',\n", " 1101: 'Bandar_Lengeh_County',\n", " 1103: 'Hotel_Bel_Air',\n", " 1104: 'Festa_do_Avante!',\n", " 1105: '24_Hours_of_Spa',\n", " 1106: 'Kimbolton_Castle',\n", " 1108: 'Burgtor_in_L%C3%BCbeck',\n", " 1111: 'Church_of_the_Transfiguration_in_Po%C5%9Bwi%C4%99tne',\n", " 1112: 'Heilig_Kruiskerk_(Heusden)',\n", " 1113: 'Rue_de_la_Convention_(Paris)',\n", " 1115: 'Awa_Kokubunji_(Tateyama)',\n", " 1116: \"Primate's_Palace,_Bratislava\",\n", " 1117: 'Stenzelberg',\n", " 1118: 'Michaeliskirche_Ohrdruf',\n", " 1119: 'Paronella_Park',\n", " 1121: 'Bockmerholz',\n", " 1122: 'Bl%C3%A5g%C3%A5rdsgade',\n", " 1123: 'Church_of_Santa_Mar%C3%ADa_de_la_Almudena,_Madrid',\n", " 1124: 'Lion_Geyser',\n", " 1125: 'Mount_Ten_(Saga)',\n", " 1126: 'Salt_Lake_City_Public_Library',\n", " 1127: 'H%C3%A4ver%C3%B6_kyrka',\n", " 1130: 'Iglesia_Parroquial_de_Santa_Teresa_y_San_Jos%C3%A9,_Madrid',\n", " 1131: 'Farmleigh',\n", " 1132: 'Kunyang_Chhish',\n", " 1133: 'Mount_Sirung',\n", " 1135: 'Mount_S%C3%BCphan',\n", " 1140: '%C3%96VB_Arena',\n", " 1141: 'Pleasant_Valley_State_Prison',\n", " 1142: 'Schloss_Goldegg_(Salzburg)',\n", " 1143: \"Liu_Shaoqi's_former_residence\",\n", " 1145: 'Abiathar_Peak',\n", " 1146: '%C3%89glise_Notre-Dame_du_Plessis-Gassot',\n", " 1147: 'Khmelnytskogo_park_(Cherkasy)',\n", " 1148: 'Duomo_(Grosseto)',\n", " 1149: 'Botanic_Garden,_Adelaide',\n", " 1150: 'Vysok%C3%A1_(Star%C3%A1_Voda)',\n", " 1151: 'Est%C3%A1dio_Doutor_Herm%C3%ADnio_Ometto',\n", " 1152: 'Dragonera',\n", " 1153: 'Bosbaan',\n", " 1154: 'Ch%C3%A2teau_de_Hautefort',\n", " 1157: 'Cihou_Fort',\n", " 1158: 'Puente_Lusitania',\n", " 1160: 'Celje_Castle',\n", " 1161: 'French_Pass',\n", " 1163: 'St._Theodore_of_Amasea_Church_(Jan%C4%8Di%C5%A1te)',\n", " 1166: 'Church_of_Saints_John_and_Paul_in_Krte%C5%88',\n", " 1167: 'Mission_Bay_(San_Diego)',\n", " 1168: 'Ognissanti_(Florence)',\n", " 1170: '1_Wall_Street',\n", " 1173: 'Mount_Minakami',\n", " 1174: 'Catedral_de_Havana',\n", " 1175: 'Ihlara_Valley',\n", " 1176: 'Watkins-Coleman_House',\n", " 1177: 'Guaranteed_Rate_Field',\n", " 1179: 'Schloss_Festenburg',\n", " 1181: 'Casino_(Sanremo)',\n", " 1184: 'Monte_Zucchero',\n", " 1185: 'Vladimir-Suzdal_Museum-Reserve',\n", " 1186: 'Hietzinger_Friedhof',\n", " 1188: 'Antigua_Catedral_de_Managua',\n", " 1190: \"St_Mary's_Church,_Beddgelert\",\n", " 1191: 'Transvaal_Museum_of_Natural_History',\n", " 1192: 'Setor_de_Divers%C3%B5es_Sul',\n", " 1198: 'Segedunum',\n", " 1200: 'Evangelische_Kirche_im_Stadtpark_Villach',\n", " 1201: 'Duomo_nuovo_(Brescia)',\n", " 1202: '%C3%89glise_Notre-Dame_de_Brennilis',\n", " 1203: 'Skierfe',\n", " 1204: 'Helan_Mountains',\n", " 1206: 'Vl%C4%8D%C3%AD_(Chlum%C4%8Dany)',\n", " 1207: 'Hemmesj%C3%B6_nya_kyrka',\n", " 1208: 'Pobitora_Wildlife_Sanctuary',\n", " 1209: 'St._Quirinus_(K%C3%B6ln-Mauenheim)',\n", " 1210: 'Duomo_(Volterra)',\n", " 1212: \"St_Peter's_Church,_Hargrave,_Cheshire\",\n", " 1213: 'Kaisertor',\n", " 1214: 'Immaculate_Conception_Church_(Sparks,_Nevada)',\n", " 1216: 'IJsselcentrale,_Zwolle',\n", " 1217: 'Royal_Tyrrell_Museum',\n", " 1218: 'Archaeological_Museum_of_Mycenae',\n", " 1219: 'Pertevniyal_Valide_Sultan_Mosque',\n", " 1220: 'Dittmannsdorfer_Teich',\n", " 1221: 'Stiftskirche_%C3%96hringen',\n", " 1223: 'Rue_de_Charonne_(Paris)',\n", " 1224: 'Kaiserkrone_(Berg)',\n", " 1225: 'Tryggev%C3%A6lde_%C3%85',\n", " 1226: 'Hypo-Haus',\n", " 1228: 'Yabe_River',\n", " 1229: 'D%C3%B6derhultarn_Museum',\n", " 1230: 'Theater_und_Orchester_Heidelberg',\n", " 1231: 'Wasserschloss_Gebelkofen',\n", " 1232: 'Holy_Cross_Church,_Ryton',\n", " 1233: 'Nachi_Falls',\n", " 1234: 'Wachtenburg',\n", " 1235: \"St_Andrew's_Church,_Wroxeter\",\n", " 1236: 'Abashiri_Prison',\n", " 1237: 'Mother_Teresa_Square,_Tirana',\n", " 1238: 'Furgler',\n", " 1239: 'Segantini_Museum',\n", " 1242: 'Staten_Island_Borough_Hall',\n", " 1243: 'Zuisen-ji_(Nanto)',\n", " 1245: 'Iolani_Palace',\n", " 1247: 'St._Hilarius_Heinsheim',\n", " 1249: 'Colleges_Crossing',\n", " 1251: 'Union_Buildings',\n", " 1253: 'Pulteney_Bridge',\n", " 1254: 'County_Cricket_Ground,_Hove',\n", " 1255: 'Trona_Pinnacles',\n", " 1256: 'Church_of_Saint_Bartholomew_(Pardubice)',\n", " 1257: 'Seekarspitze_(Vorkarwendel)',\n", " 1258: 'Rosenkogel_(Koralpe)',\n", " 1261: 'Obelisk_in_honor_of_the_200th_anniversary_of_the_Kuban_cossacks,_Krasnodar',\n", " 1263: 'Crimple_Beck_Viaduct',\n", " 1264: 'Church_of_San_Juan,_Miranda_de_Ebro',\n", " 1265: 'Kamosu-jinja',\n", " 1266: 'Church_of_the_Visitation_of_Our_Lady_(Nov%C3%A9_Domky)',\n", " 1267: 'R%C3%B8ldal_stavkirke',\n", " 1269: 'Chavonnes_Battery',\n", " 1272: '707_17th_Street',\n", " 1276: 'Innisfallen_Abbey',\n", " 1277: 'Monument_Valley',\n", " 1279: 'Tjeukemeer',\n", " 1281: 'Shiga_Kogen',\n", " 1282: 'Breitenbush_Hot_Springs',\n", " 1284: 'Hebizuka_Kofun',\n", " 1286: 'Bismarck-Brunnen_(Darmstadt)',\n", " 1287: 'Cathedral_Church_of_St._Paul,_Boston',\n", " 1288: 'Gosper_County_Courthouse',\n", " 1289: 'Parachute_Regiment_and_Airborne_Forces_Museum',\n", " 1290: 'Dorfkirche_B%C3%BClow',\n", " 1291: 'Plum_Island_Range_Lights',\n", " 1292: 'San_Rocco_(Rovereto)',\n", " 1293: 'Great_Bay_National_Wildlife_Refuge',\n", " 1294: 'Borovany_Monastery',\n", " 1298: \"Gloria_Dei_(Old_Swedes')_Church\",\n", " 1299: 'Jesuitenkirche_Innsbruck',\n", " 1300: 'Basilique_Sainte-Marie-Madeleine_de_V%C3%A9zelay',\n", " 1301: 'St._Jakobus_(Mastholte)',\n", " 1303: 'Holy_Name_of_Jesus_Church_(Toronto)',\n", " 1306: 'Bolgatty_Palace',\n", " 1307: 'Mus%C3%A9e_de_la_pr%C3%A9fecture_de_police',\n", " 1308: 'Uhr_der_flie%C3%9Fenden_Zeit',\n", " 1310: 'Sigsbee_(ship,_1901)',\n", " 1311: 'Trongsa_Dzong',\n", " 1312: 'Canalside,_Buffalo,_New_York',\n", " 1314: 'Deutsches_Filmmuseum',\n", " 1315: 'Bolnisi_Sioni',\n", " 1316: 'Ottagono_Abbandonato',\n", " 1317: 'Holy_Trinity_Church,_Blythburgh',\n", " 1319: 'Burnside_Library',\n", " 1320: 'St._Blasius_(Engetried)',\n", " 1321: 'Broad_Margin',\n", " 1322: 'Kamiyodo_Haiji',\n", " 1323: 'Bodleian_Library',\n", " 1324: 'Chomo_Lonzo',\n", " 1325: 'The_First_Church_of_Christ,_Scientist',\n", " 1326: 'Tierpark_Neum%C3%BCnster',\n", " 1327: 'Selimiye_Mosque_(former_St._Sophie_Cathedral)',\n", " 1328: 'All_Hallows_Church,_Great_Mitton',\n", " 1329: 'Band-e_Kaisar',\n", " 1331: 'H%C3%B4tel_de_Blossac',\n", " 1333: 'Mont_Valier',\n", " 1334: 'Obersulzbachtal',\n", " 1336: '%C3%89glise_Saint-Pierre_de_M%C3%A2con',\n", " 1337: 'Abbaye_de_Bonneval',\n", " 1339: 'Hospital_de_Sant_Miquel',\n", " 1340: 'Martin_Luther_King,_Jr._National_Historical_Park',\n", " 1341: 'Millst%C3%A4tter_Alpe',\n", " 1342: 'St_Mary,_Horncastle',\n", " 1346: 'Laxsj%C3%B6_kyrka',\n", " 1348: 'St._Bonifatius_(Wunstorf)',\n", " 1349: 'Svatov%C3%A1clavsk%C3%BD_dub_(Stochov)',\n", " 1350: \"St_Grwst's_Church,_Llanrwst\",\n", " 1351: 'LVR-Arch%C3%A4ologischer_Park_Xanten',\n", " 1353: 'Hohenkr%C3%A4hen',\n", " 1355: 'Columbia_Park',\n", " 1357: 'Bording_Kirke',\n", " 1361: 'Ksi%C4%85%C5%BC_castle',\n", " 1363: 'Grayland_Beach_State_Park',\n", " 1365: 'Zhongshan_Hall,_Taipei',\n", " 1367: 'Fonuafo%CA%BBou',\n", " 1368: 'Maeshowe',\n", " 1369: 'Church_of_St._John_in_Siewierz',\n", " 1371: 'Basilique_Sainte-Trinit%C3%A9_de_Cherbourg',\n", " 1372: 'Osovica_Monastery',\n", " 1376: 'Fontana_di_Bellerofonte',\n", " 1378: 'Auer_M%C3%BChlbach',\n", " 1380: 'Cathedral_(Brixen)',\n", " 1381: 'Shinminato_Bridge',\n", " 1383: 'Mare_de_D%C3%A9u_de_Gr%C3%A0cia_(Vila-real)',\n", " 1387: 'Derby_Line,_Vermont',\n", " 1388: 'Pechenga_Monastery',\n", " 1390: 'Jostbergkloster',\n", " 1392: 'Menara_Kudus_Mosque',\n", " 1393: 'Sobieszewo_pontoon_bridge',\n", " 1394: 'B%C5%82%C4%99d%C3%B3w_Desert',\n", " 1395: \"Otari-Wilton's_Bush\",\n", " 1396: 'Frankford_Avenue_Bridge',\n", " 1399: 'Popper_Synagogue_of_Kazimierz,_Krak%C3%B3w',\n", " 1400: \"Ha'penny_Bridge\",\n", " 1401: 'Nyatapola_Temple,_Bhaktapur',\n", " 1402: 'H%C3%B4tel_Feydeau_de_Montholon',\n", " 1403: 'M%C5%8D%CA%BBili%CA%BBili',\n", " 1404: 'Weidelsburg',\n", " 1406: '%C4%B6emeri_National_Park',\n", " 1407: 'Aven_(river)',\n", " 1408: 'Osinalick%C3%A9_bu%C4%8Diny',\n", " 1409: 'Parco_degli_Acquedotti_(Rome)',\n", " 1411: \"Jame'_Asr_Hassanil_Bolkiah_Mosque\",\n", " 1412: 'Babrujsk-Arena',\n", " 1413: 'Sterngarten',\n", " 1415: 'Hollerbach_(Buchen)',\n", " 1416: 'Poncha_Pass',\n", " 1419: 'Shades_State_Park',\n", " 1420: 'Giant_Swing,_Bangkok',\n", " 1421: 'Lennox_Bridge,_Parramatta',\n", " 1422: 'Bjurb%C3%A4cks_kyrka',\n", " 1423: 'Vila_Uni%C3%A3o_(Fortaleza)',\n", " 1424: 'Lagarde_Fort',\n", " 1427: 'Krugersdorp_Game_Reserve',\n", " 1428: 'Katholische_Kirche_(Beindersheim)',\n", " 1430: \"Chapelle_de_l'%C3%89tang_de_Bitche\",\n", " 1432: 'Hus%C5%AFv_sbor_(%C4%8Cesk%C3%A9_Bud%C4%9Bjovice)',\n", " 1436: 'Jantar_Mantar_(Delhi)',\n", " 1437: 'Basilique_Sainte-Marie-Madeleine_de_Saint-Maximin-la-Sainte-Baume',\n", " 1439: 'Arendal_kirkeg%C3%A5rd',\n", " 1440: 'Cambridge_University_Library',\n", " 1441: 'Kanlaon',\n", " 1442: 'Vrchlick%C3%A9ho_sady_(Praha)',\n", " 1443: 'Saint_Catherine_Orthodox_church_in_Marjino',\n", " 1444: 'Rockbund_Art_Museum',\n", " 1445: 'Raus_kyrka',\n", " 1446: 'Horse_Sand_Fort',\n", " 1447: 'Church_of_Saint_Maurice_(Olomouc)',\n", " 1451: 'Evangelick%C3%BD_h%C5%99bitov_ve_Stra%C5%A1nic%C3%ADch',\n", " 1455: 'Monument_du_Mort_Homme',\n", " 1456: 'Camboglanna',\n", " 1457: 'Abravanel_Hall',\n", " 1459: 'Sir_Adam_Beck_Dam',\n", " 1460: 'Jaru%C5%A1k%C5%AFv_d%C5%AFm',\n", " 1462: 'Alexandria_Canal',\n", " 1463: 'Salvatorkirche_(Duisburg)',\n", " 1464: 'Hardraw_Force',\n", " 1465: 'Hunebed_D14_in_Eexter_halte',\n", " 1468: 'Los_Angeles_State_Historic_Park',\n", " 1469: 'Esgl%C3%A9sia_de_Sant_F%C3%A8lix_(Sabadell)',\n", " 1471: 'Reinsburg',\n", " 1472: 'Tw%C3%B3rcy_%C5%81odzi_Przemys%C5%82owej',\n", " 1473: 'Kj%C3%B8snesfjorden',\n", " 1474: 'Minsener_Oog',\n", " 1475: 'Krylatskoye_Rowing_Canal',\n", " 1479: 'Beierbrua',\n", " 1480: 'Gardaland',\n", " 1481: 'B%C3%A4ve%C3%A5n',\n", " 1482: 'Kvetera',\n", " 1483: 'Aniakchak_National_Monument_and_Preserve',\n", " 1485: 'Lake_Trasimeno',\n", " 1486: \"Monument_%C3%A0_l'Arm%C3%A9e_Noire\",\n", " 1489: 'New_Town_Market_Square_in_Warsaw',\n", " 1495: 'Liechtensteinisches_Landesmuseum',\n", " 1496: 'Merion_Cricket_Club',\n", " 1497: '%C3%98ysleb%C3%B8_kirke',\n", " 1498: \"Bob's_Big_Boy_Restaurant_(Burbank)\",\n", " ...}" ] }, "execution_count": 33, "metadata": {}, "output_type": "execute_result" } ], "source": [ "index_cats" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Generate cats" ] }, { "cell_type": "code", "execution_count": 34, "metadata": {}, "outputs": [], "source": [ "train_cat2id = {v: k for k, v in train_cats.items()}\n", "train_label2id = {i: v for i, (k, v) in enumerate(train_cats.items())}" ] }, { "cell_type": "code", "execution_count": 43, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "3780724" ] }, "execution_count": 43, "metadata": {}, "output_type": "execute_result" } ], "source": [ "final_cats = {**train_cats, **index_cats}\n", "final_cats = dict(sorted(final_cats.items()))\n", "\n", "def format_cat(x):\n", " return x.replace('\"', '\\\\\"')\n", "\n", "# formatted_cats = [f'\"{format_cat(v)}\"' for v in final_cats.values()]\n", "# formatted_cats = [ for k,v in final_cats.items()]\n", "# out_cats = root_p / \"landmark_categories.json\"\n", "# out_cats.write_text(json.dumps(final_cats, ensure_ascii=False), encoding=\"utf-8\")\n", "train_out_cats = root_p / \"landmark_categories_train.json\"\n", "index_out_cats = root_p / \"landmark_categories_index.json\"\n", "cat_out_names = root_p / \"landmark_categories.json\"\n", "train_out_cats.write_text(json.dumps({v:k for k,v in train_cats.items()}, ensure_ascii=False), encoding=\"utf-8\")\n", "index_out_cats.write_text(json.dumps({v:k for k,v in index_cats.items()}, ensure_ascii=False), encoding=\"utf-8\")\n", "cat_names = list(sorted(set(train_cats.values()) | set(index_cats.values())))\n", "cat_out_names.write_text(json.dumps((cat_names), ensure_ascii=False), encoding=\"utf-8\")" ] }, { "cell_type": "code", "execution_count": 36, "metadata": {}, "outputs": [], "source": [ "dff = pd.DataFrame({\"idx\":list(final_cats.keys()), \"cats\": list(final_cats.values())})" ] }, { "cell_type": "code", "execution_count": 37, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "cats\n", "Lion_in_Monrepos 2\n", "Kr%C3%A1sna_H%C3%B4rka 2\n", "Immanuel_Church,_Jakarta 2\n", "Church_of_Saint_Lawrence_(%C5%98e%C4%8Dkovice) 2\n", "Derwent_Valley_Mills 2\n", "Name: count, dtype: int64" ] }, "execution_count": 37, "metadata": {}, "output_type": "execute_result" } ], "source": [ "dff[\"cats\"].value_counts().head()" ] }, { "cell_type": "code", "execution_count": 38, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "41592\n", "83184\n" ] }, { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idxcats
00Seal_Bay_Conservation_Park
99959118429Seal_Bay_Conservation_Park
\n", "
" ], "text/plain": [ " idx cats\n", "0 0 Seal_Bay_Conservation_Park\n", "99959 118429 Seal_Bay_Conservation_Park" ] }, "execution_count": 38, "metadata": {}, "output_type": "execute_result" } ], "source": [ "cat_idx = (dff[\"cats\"].value_counts() > 1)\n", "dfff = dff.loc[dff[\"cats\"].isin(cat_idx[cat_idx].index)]\n", "first_label = dfff.iloc[0].cats\n", "print(cat_idx.sum())\n", "print(len(dfff))\n", "dfff.loc[dfff[\"cats\"] == first_label]\n" ] }, { "cell_type": "code", "execution_count": 39, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "('Happy_Valley_Racecourse', 'Seal_Bay_Conservation_Park')" ] }, "execution_count": 39, "metadata": {}, "output_type": "execute_result" } ], "source": [ "train_cats[0], index_cats[0]" ] }, { "cell_type": "code", "execution_count": 40, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "('Seal_Bay_Conservation_Park', 'Seal_Bay_Conservation_Park')" ] }, "execution_count": 40, "metadata": {}, "output_type": "execute_result" } ], "source": [ "train_cats[118429], index_cats[0]" ] }, { "cell_type": "code", "execution_count": 42, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'Agra_Fort'" ] }, "execution_count": 42, "metadata": {}, "output_type": "execute_result" } ], "source": [ "train_cats[183170]" ] }, { "cell_type": "code", "execution_count": 41, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
idimage_urllandmark_idcategorysupercategoryhierarchical_labelnatural_or_human_madesite_urlauthorlicensetitleparsed_cats
0202cd79556f30760http://upload.wikimedia.org/wikipedia/commons/...104169http://commons.wikimedia.org/wiki/Category:Sti...castlecastle / forthuman-madehttp://commons.wikimedia.org/wiki/File:Ecosse2...LeCardinalCC-BY-SA-3.0(http://creativecommons.org/licens...File:Ecosse200996-1.jpgStirling_Castle
14072182eddd0100ehttps://upload.wikimedia.org/wikipedia/commons...2474http://commons.wikimedia.org/wiki/Category:Riv...riverrivernaturalhttp://commons.wikimedia.org/wiki/File:Looking...Stephen Whittaker and Katharine OakeshottCC BY-SA 2.0(https://creativecommons.org/licen...File:Looking downstream from the footbridge ov...River_Severn
26f31b874d1a4d489https://upload.wikimedia.org/wikipedia/commons...6888http://commons.wikimedia.org/wiki/Category:Liv...parkparksnaturalhttp://commons.wikimedia.org/wiki/File:Livadii...ЯдвигаВерескCC BY-SA 4.0(http://creativecommons.org/licens...File:Livadiiskyi Park,.JPGLivadiiskyi_Park
316d8aa057cdd01b9http://upload.wikimedia.org/wikipedia/commons/...25719http://commons.wikimedia.org/wiki/Category:Duo...cathedralchurchhuman-madehttp://commons.wikimedia.org/wiki/File:A-Duomo...AlbertomosCC-BY-SA-3.0(http://creativecommons.org/licens...File:A-Duomo Monza italy.jpgDuomo_(Monza)
43968e37e503f3109https://upload.wikimedia.org/wikipedia/commons...122849http://commons.wikimedia.org/wiki/Category:Wil...observation towertowerhuman-madehttp://commons.wikimedia.org/wiki/File:2011-04...Hansueli Krapf This file was uploaded with Com...CC BY-SA 3.0(https://creativecommons.org/licen...File:2011-04-03 14-50-50 Switzerland Kanton Zü...Wildensbuch_lookout_tower
.......................................
293518526d969faffdf5285https://upload.wikimedia.org/wikipedia/commons...199418http://commons.wikimedia.org/wiki/Category:Cul...ethnic culture (Ukrainians)NaNNaNhttp://commons.wikimedia.org/wiki/File:%D0%94%...Тетяна КозелCC BY-SA 4.0(https://creativecommons.org/licen...File:Драматичний гурток.pngCulture_of_Ukraine
293518639aad18585867916https://upload.wikimedia.org/wikipedia/commons...162860http://commons.wikimedia.org/wiki/Category:Mus...museummuseumhuman-madehttp://commons.wikimedia.org/wiki/File:Museum_...RitipitieCC BY-SA 3.0(http://creativecommons.org/licens...File:Museum M te Leuven 2.jpgMuseum_M
2935187fd0725460e4ebbechttps://upload.wikimedia.org/wikipedia/commons...191243http://commons.wikimedia.org/wiki/Category:Ish...church buildingchurchhuman-madehttp://commons.wikimedia.org/wiki/File:Troms%C...Harvey Barrison from Massapequa, NY, USACC BY-SA 2.0(https://creativecommons.org/licen...File:Tromsø 2013 06 05 3708 (10117844744).jpgIshavskatedralen
293518873691ae29e24ba19https://upload.wikimedia.org/wikipedia/commons...145760http://commons.wikimedia.org/wiki/Category:Kir...towertowerhuman-madehttp://commons.wikimedia.org/wiki/File:Kirti_S...Satyadev HiraniCC BY-SA 4.0(http://creativecommons.org/licens...File:Kirti Stambha 4.jpgKirti_Stambha
29351898ef8dff6fc4790c2https://upload.wikimedia.org/wikipedia/commons...34698http://commons.wikimedia.org/wiki/Category:Whi...keepcastle / forthuman-madehttp://commons.wikimedia.org/wiki/File:White_T...Cody Logan (aka clpo13)CC BY-SA 4.0(https://creativecommons.org/licen...File:White Tower, London, August 2014.JPGWhite_Tower_(Tower_of_London)
\n", "

2935190 rows × 12 columns

\n", "
" ], "text/plain": [ " id image_url \\\n", "0 202cd79556f30760 http://upload.wikimedia.org/wikipedia/commons/... \n", "1 4072182eddd0100e https://upload.wikimedia.org/wikipedia/commons... \n", "2 6f31b874d1a4d489 https://upload.wikimedia.org/wikipedia/commons... \n", "3 16d8aa057cdd01b9 http://upload.wikimedia.org/wikipedia/commons/... \n", "4 3968e37e503f3109 https://upload.wikimedia.org/wikipedia/commons... \n", "... ... ... \n", "2935185 26d969faffdf5285 https://upload.wikimedia.org/wikipedia/commons... \n", "2935186 39aad18585867916 https://upload.wikimedia.org/wikipedia/commons... \n", "2935187 fd0725460e4ebbec https://upload.wikimedia.org/wikipedia/commons... \n", "2935188 73691ae29e24ba19 https://upload.wikimedia.org/wikipedia/commons... \n", "2935189 8ef8dff6fc4790c2 https://upload.wikimedia.org/wikipedia/commons... \n", "\n", " landmark_id category \\\n", "0 104169 http://commons.wikimedia.org/wiki/Category:Sti... \n", "1 2474 http://commons.wikimedia.org/wiki/Category:Riv... \n", "2 6888 http://commons.wikimedia.org/wiki/Category:Liv... \n", "3 25719 http://commons.wikimedia.org/wiki/Category:Duo... \n", "4 122849 http://commons.wikimedia.org/wiki/Category:Wil... \n", "... ... ... \n", "2935185 199418 http://commons.wikimedia.org/wiki/Category:Cul... \n", "2935186 162860 http://commons.wikimedia.org/wiki/Category:Mus... \n", "2935187 191243 http://commons.wikimedia.org/wiki/Category:Ish... \n", "2935188 145760 http://commons.wikimedia.org/wiki/Category:Kir... \n", "2935189 34698 http://commons.wikimedia.org/wiki/Category:Whi... \n", "\n", " supercategory hierarchical_label natural_or_human_made \\\n", "0 castle castle / fort human-made \n", "1 river river natural \n", "2 park parks natural \n", "3 cathedral church human-made \n", "4 observation tower tower human-made \n", "... ... ... ... \n", "2935185 ethnic culture (Ukrainians) NaN NaN \n", "2935186 museum museum human-made \n", "2935187 church building church human-made \n", "2935188 tower tower human-made \n", "2935189 keep castle / fort human-made \n", "\n", " site_url \\\n", "0 http://commons.wikimedia.org/wiki/File:Ecosse2... \n", "1 http://commons.wikimedia.org/wiki/File:Looking... \n", "2 http://commons.wikimedia.org/wiki/File:Livadii... \n", "3 http://commons.wikimedia.org/wiki/File:A-Duomo... \n", "4 http://commons.wikimedia.org/wiki/File:2011-04... \n", "... ... \n", "2935185 http://commons.wikimedia.org/wiki/File:%D0%94%... \n", "2935186 http://commons.wikimedia.org/wiki/File:Museum_... \n", "2935187 http://commons.wikimedia.org/wiki/File:Troms%C... \n", "2935188 http://commons.wikimedia.org/wiki/File:Kirti_S... \n", "2935189 http://commons.wikimedia.org/wiki/File:White_T... \n", "\n", " author \\\n", "0 LeCardinal \n", "1 Stephen Whittaker and Katharine Oakeshott \n", "2 ЯдвигаВереск \n", "3 Albertomos \n", "4 Hansueli Krapf This file was uploaded with Com... \n", "... ... \n", "2935185 Тетяна Козел \n", "2935186 Ritipitie \n", "2935187 Harvey Barrison from Massapequa, NY, USA \n", "2935188 Satyadev Hirani \n", "2935189 Cody Logan (aka clpo13) \n", "\n", " license \\\n", "0 CC-BY-SA-3.0(http://creativecommons.org/licens... \n", "1 CC BY-SA 2.0(https://creativecommons.org/licen... \n", "2 CC BY-SA 4.0(http://creativecommons.org/licens... \n", "3 CC-BY-SA-3.0(http://creativecommons.org/licens... \n", "4 CC BY-SA 3.0(https://creativecommons.org/licen... \n", "... ... \n", "2935185 CC BY-SA 4.0(https://creativecommons.org/licen... \n", "2935186 CC BY-SA 3.0(http://creativecommons.org/licens... \n", "2935187 CC BY-SA 2.0(https://creativecommons.org/licen... \n", "2935188 CC BY-SA 4.0(http://creativecommons.org/licens... \n", "2935189 CC BY-SA 4.0(https://creativecommons.org/licen... \n", "\n", " title \\\n", "0 File:Ecosse200996-1.jpg \n", "1 File:Looking downstream from the footbridge ov... \n", "2 File:Livadiiskyi Park,.JPG \n", "3 File:A-Duomo Monza italy.jpg \n", "4 File:2011-04-03 14-50-50 Switzerland Kanton Zü... \n", "... ... \n", "2935185 File:Драматичний гурток.png \n", "2935186 File:Museum M te Leuven 2.jpg \n", "2935187 File:Tromsø 2013 06 05 3708 (10117844744).jpg \n", "2935188 File:Kirti Stambha 4.jpg \n", "2935189 File:White Tower, London, August 2014.JPG \n", "\n", " parsed_cats \n", "0 Stirling_Castle \n", "1 River_Severn \n", "2 Livadiiskyi_Park \n", "3 Duomo_(Monza) \n", "4 Wildensbuch_lookout_tower \n", "... ... \n", "2935185 Culture_of_Ukraine \n", "2935186 Museum_M \n", "2935187 Ishavskatedralen \n", "2935188 Kirti_Stambha \n", "2935189 White_Tower_(Tower_of_London) \n", "\n", "[2935190 rows x 12 columns]" ] }, "execution_count": 41, "metadata": {}, "output_type": "execute_result" } ], "source": [ "final_train" ] } ], "metadata": { "kernelspec": { "display_name": "usr", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.12" } }, "nbformat": 4, "nbformat_minor": 2 }