"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"with open(\"../../test_lours/test_data/caipy_dataset/tags/custom_schema.json\") as f:\n",
" custom_schema = json.load(f)\n",
"\n",
"mr.JSON(custom_schema)"
]
},
{
"cell_type": "code",
"execution_count": 15,
"id": "8204ae39-103e-444d-a18c-86dd285feb3f",
"metadata": {},
"outputs": [],
"source": [
"from lours.dataset import from_caipy_generic"
]
},
{
"cell_type": "markdown",
"id": "880ad091-ffee-477c-a539-c15934925a44",
"metadata": {},
"source": [
"As mentioned above, this cell will fail because by default caipy expects the CA-V5.b schema"
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "76b8077b-8506-40c6-92f0-74bf58156d17",
"metadata": {
"tags": [
"raises-exception"
]
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"specifying a fictive path for images : ../../test_lours/test_data/caipy_dataset/tags/Images\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e8bbf1c121694b819c95b56fce893fb2",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
" 0%| | 0/1 [00:00, ?it/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"ename": "ValidationError",
"evalue": "\"turquoise\" is not one of [\"red\",\"green\",\"yellow\",\"blue\",\"white\",\"black\",\"orange\",\"purple\",\"grey\",\"brown\",\"pink\",\"beige\",\"cyan\"]\n\nFailed validating \"enum\" in schema[\"properties\"][\"annotations\"][\"items\"][\"properties\"][\"attributes\"][\"properties\"][\"colors\"][\"items\"]\n\nOn instance[\"annotations\"][0][\"attributes\"][\"colors\"][1]:\n \"turquoise\"",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mValidationError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[16], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m dataset \u001b[38;5;241m=\u001b[39m \u001b[43mfrom_caipy_generic\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 2\u001b[0m \u001b[43m \u001b[49m\u001b[43mimages_folder\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[1;32m 3\u001b[0m \u001b[43m \u001b[49m\u001b[43mannotations_folder\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m../../test_lours/test_data/caipy_dataset/tags/custom_schema/\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\n\u001b[1;32m 4\u001b[0m \u001b[43m \u001b[49m\u001b[43muse_schema\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43;01mTrue\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[1;32m 5\u001b[0m \u001b[43m)\u001b[49m\n",
"File \u001b[0;32m~/workspace/Bamboo/lours/dataset/io/caipy.py:326\u001b[0m, in \u001b[0;36mfrom_caipy_generic\u001b[0;34m(images_folder, annotations_folder, dataset_name, split, splits_to_read, use_schema, json_schema, booleanize)\u001b[0m\n\u001b[1;32m 323\u001b[0m dataset \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m split_dataset\n\u001b[1;32m 325\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mlen\u001b[39m(dataset) \u001b[38;5;241m==\u001b[39m \u001b[38;5;241m0\u001b[39m \u001b[38;5;129;01mand\u001b[39;00m splits_to_read \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[0;32m--> 326\u001b[0m dataset \u001b[38;5;241m=\u001b[39m \u001b[43mload_caipy_split\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 327\u001b[0m \u001b[43m \u001b[49m\u001b[43mimages_folder\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mimages_folder\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 328\u001b[0m \u001b[43m \u001b[49m\u001b[43mannotations_folder\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mannotations_folder\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 329\u001b[0m \u001b[43m \u001b[49m\u001b[43mdataset_name\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdataset_name\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 330\u001b[0m \u001b[43m \u001b[49m\u001b[43msplit_name\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43msplit\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 331\u001b[0m \u001b[43m \u001b[49m\u001b[43mschema\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mschema\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 332\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 334\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m schema \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 335\u001b[0m image_schema \u001b[38;5;241m=\u001b[39m schema[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mproperties\u001b[39m\u001b[38;5;124m\"\u001b[39m][\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mimage\u001b[39m\u001b[38;5;124m\"\u001b[39m]\n",
"File \u001b[0;32m~/workspace/Bamboo/lours/dataset/io/caipy.py:132\u001b[0m, in \u001b[0;36mload_caipy_split\u001b[0;34m(images_folder, annotations_folder, dataset_name, split_name, schema)\u001b[0m\n\u001b[1;32m 105\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mload_caipy_split\u001b[39m(\n\u001b[1;32m 106\u001b[0m images_folder: Path,\n\u001b[1;32m 107\u001b[0m annotations_folder: Path,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 110\u001b[0m schema: \u001b[38;5;28mdict\u001b[39m \u001b[38;5;241m|\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m,\n\u001b[1;32m 111\u001b[0m ) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m Dataset:\n\u001b[1;32m 112\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"Load a particular caipy split folder and convert it to a lours Dataset\u001b[39;00m\n\u001b[1;32m 113\u001b[0m \n\u001b[1;32m 114\u001b[0m \u001b[38;5;124;03m Args:\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 130\u001b[0m \u001b[38;5;124;03m caipy splits\u001b[39;00m\n\u001b[1;32m 131\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 132\u001b[0m images, annotations \u001b[38;5;241m=\u001b[39m \u001b[43mload_caipy_annot_folder\u001b[49m\u001b[43m(\u001b[49m\u001b[43mannotations_folder\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mschema\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 133\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m images \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[1;32m 134\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m images\u001b[38;5;241m.\u001b[39mindex\u001b[38;5;241m.\u001b[39mis_unique:\n",
"File \u001b[0;32m~/workspace/Bamboo/lours/dataset/io/caipy.py:55\u001b[0m, in \u001b[0;36mload_caipy_annot_folder\u001b[0;34m(folder_path, schema)\u001b[0m\n\u001b[1;32m 53\u001b[0m frame_data \u001b[38;5;241m=\u001b[39m json\u001b[38;5;241m.\u001b[39mload(f)\n\u001b[1;32m 54\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m validator \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n\u001b[0;32m---> 55\u001b[0m validator\u001b[38;5;241m.\u001b[39mvalidate(frame_data)\n\u001b[1;32m 56\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtype\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;129;01min\u001b[39;00m frame_data\u001b[38;5;241m.\u001b[39mkeys():\n\u001b[1;32m 57\u001b[0m \u001b[38;5;28;01massert\u001b[39;00m (\n\u001b[1;32m 58\u001b[0m frame_data[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtype\u001b[39m\u001b[38;5;124m\"\u001b[39m] \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124minstances\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 59\u001b[0m ), \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mOnly instance type supported for now\u001b[39m\u001b[38;5;124m\"\u001b[39m\n",
"\u001b[0;31mValidationError\u001b[0m: \"turquoise\" is not one of [\"red\",\"green\",\"yellow\",\"blue\",\"white\",\"black\",\"orange\",\"purple\",\"grey\",\"brown\",\"pink\",\"beige\",\"cyan\"]\n\nFailed validating \"enum\" in schema[\"properties\"][\"annotations\"][\"items\"][\"properties\"][\"attributes\"][\"properties\"][\"colors\"][\"items\"]\n\nOn instance[\"annotations\"][0][\"attributes\"][\"colors\"][1]:\n \"turquoise\""
]
}
],
"source": [
"dataset = from_caipy_generic(\n",
" images_folder=None,\n",
" annotations_folder=\"../../test_lours/test_data/caipy_dataset/tags/custom_schema/\",\n",
" use_schema=True,\n",
")"
]
},
{
"cell_type": "markdown",
"id": "077e2450-e510-4c8c-aea0-9a4aee104453",
"metadata": {},
"source": [
"This one will succeed\n",
"\n",
"Also note that booleanize columns are less numerous for `attributes.actions` and `attributes.colors`"
]
},
{
"cell_type": "code",
"execution_count": 17,
"id": "19a2abea-83e2-41a8-8689-9ad7104ff60c",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"specifying a fictive path for images : ../../test_lours/test_data/caipy_dataset/tags/Images\n"
]
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e86cdb20f4494218bb77df42d5f395a7",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
" 0%| | 0/1 [00:00, ?it/s]"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"dataset = from_caipy_generic(\n",
" images_folder=None,\n",
" annotations_folder=\"../../test_lours/test_data/caipy_dataset/tags/custom_schema/\",\n",
" use_schema=True,\n",
" json_schema=custom_schema,\n",
")"
]
},
{
"cell_type": "code",
"execution_count": 18,
"id": "190f3ede-670a-4e0e-99b1-8ecf965daeaa",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6f90bab6fd0a433d92b6568c10011d49",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"VBox(children=(HTML(value=\"Dataset object containing…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"dataset"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"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.11.9"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {
"020d9542b75c45f6855127e769e6c32e": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"0472a0c52b384c20bac6bba7be697d7a": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"0778ae2a76624d2bb213cfd3edc6b0c0": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"07c8022be9374b64aa3c20cf242c8cfe": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"bar_style": "success",
"layout": "IPY_MODEL_7261a2e98e4044d4a94b6cfcc1b66bf4",
"max": 2,
"style": "IPY_MODEL_747f2dd2e1ba4ddd86bfc4dd09db8fd8",
"value": 2
}
},
"08145d806a2e44a2b0c0b5b53c16e157": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LabelStyleModel",
"state": {
"description_width": "",
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"0af99b88e526451a8f116aa914a03c85": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LinkModel",
"state": {
"source": [
"IPY_MODEL_6eb8130148024f58af7d2dfa7afea151",
"index"
],
"target": [
"IPY_MODEL_a0ac4aaf7a5449e09f480e6201bc05cb",
"selected_index"
]
}
},
"0b51da5c21874f6580a40b2b7febf6aa": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"0cab193239a241ffb35beb1b574f5c7b": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"1202c640ef9f41bbbc914724efe44bc1": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "VBoxModel",
"state": {
"children": [
"IPY_MODEL_ed741ca35a4d43d381ed7b2535bf8072",
"IPY_MODEL_549d413cb13845379ee6a3a78e409fd7"
],
"layout": "IPY_MODEL_512e1e5adafb41cbb38e71f29abd2a11"
}
},
"132a6bc35e734f4f83266d240d1cd744": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"1613cfa2cd45417ba93de2b5ce06cff1": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"1905b37bd49745b2a2e7458d07b4ce10": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"1edff217974249e28897179dbf04b14a": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"children": [
"IPY_MODEL_64a23506013b4f4fbfbb29100ab4b3bd",
"IPY_MODEL_a6a54532063d4f2192b6d2789bdf1084",
"IPY_MODEL_f961f09764c94c2fa7b64cda94f2edcc"
],
"layout": "IPY_MODEL_57ed44748e5c4f1f82f65fe9c95a7a1a"
}
},
"1f1e688f42a0486f8b9d68d1c2d7e3d9": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"3386375631aa45338f7e9edce9b94b09": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "StackModel",
"state": {
"children": [
"IPY_MODEL_764544f8c3b744ba9273aa7f9aad35c7",
"IPY_MODEL_7ba1e595d0cd4e33a38718af458506e8"
],
"layout": "IPY_MODEL_5a872f11b50b415fa8f19e1950438847",
"selected_index": 0,
"titles": [
"",
""
]
}
},
"339a0f00e9824c288198159a2f73f01e": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ToggleButtonsStyleModel",
"state": {
"button_width": "auto",
"description_width": ""
}
},
"34c1d2ad78204bc7aa3de0d414b0fe0b": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"3ba44a1d939448178ebc6cac1d2e714f": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_8de82515a9794723b9c81fb955f3e289",
"outputs": [
{
"data": {
"text/html": "\n\n
\n \n \n | \n width | \n height | \n relative_path | \n type | \n tags.time | \n tags.weather | \n
\n \n | id | \n | \n | \n | \n | \n | \n | \n
\n \n \n \n | 200 | \n 640 | \n 427 | \n 785.jpg | \n .jpg | \n day | \n sunny | \n
\n \n
\n
",
"text/plain": " width height relative_path type tags.time tags.weather\nid \n200 640 427 785.jpg .jpg day sunny"
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"3c1d3ed53fcf45c8b92ac7eabb027f50": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LabelModel",
"state": {
"layout": "IPY_MODEL_d19def3b87944cc99f9185b90eb2188f",
"style": "IPY_MODEL_832c102947f9488b830e9120d8b2c67f",
"value": "Booleanize"
}
},
"3efb9b0c090f4637b0aed6db54106d50": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_c01cc6cb84634d7681bec200fbf7c97c",
"outputs": [
{
"data": {
"text/html": "\n\n \n \n | | \n image_id | \n category_str | \n category_id | \n box_x_min | \n box_y_min | \n box_width | \n box_height | \n children_ids | \n confidence | \n parent_id | \n attributes | \n
\n \n | | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n occluded | \n colors | \n position | \n
\n \n | id | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n
\n \n \n \n | 0 | \n 200 | \n person | \n 2 | \n 1256.000000 | \n 202.000000 | \n 59.000000 | \n 47.000000 | \n [] | \n 0.500000 | \n 1 | \n True | \n ['blue', 'turquoise'] | \n [] | \n
\n \n | 1 | \n 200 | \n head | \n 800 | \n 1256.000000 | \n 202.000000 | \n 59.000000 | \n 47.000000 | \n [0] | \n nan | \n | \n None | \n [] | \n ['side'] | \n
\n \n
\n",
"text/plain": ""
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"49005d311ed749579739e17178d63113": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"bar_style": "danger",
"layout": "IPY_MODEL_b812c9c9a28e4f659fef5b2664c63d45",
"max": 1,
"style": "IPY_MODEL_c88961be156e4788a619d140851f9332"
}
},
"494095efddbe4d71b61a012fbf915854": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"4c99ce4d531d4c93962e9128578d845e": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_020d9542b75c45f6855127e769e6c32e",
"style": "IPY_MODEL_c6e6d89936094b358cf8e337738c153b",
"value": " 0/1 [00:00<?, ?it/s]"
}
},
"4e6a9a7046c54d3dbc3a36ce7d9d01e0": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"512e1e5adafb41cbb38e71f29abd2a11": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"5493f94105a7474980a9785fc1528de8": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"children": [
"IPY_MODEL_f3133f171cfe43638d63c5cf30547758",
"IPY_MODEL_6eb8130148024f58af7d2dfa7afea151"
],
"layout": "IPY_MODEL_8111db8f01f8487588cc169fed9dcbed"
}
},
"549d413cb13845379ee6a3a78e409fd7": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "DropdownModel",
"state": {
"_options_labels": [
"raw",
"nested"
],
"index": 0,
"layout": "IPY_MODEL_945580f822df48c486846b21da68dad3",
"style": "IPY_MODEL_6e22121a4bec45e1b19131be7fc2b4c9"
}
},
"57ed44748e5c4f1f82f65fe9c95a7a1a": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"5829f3bb40cf45fe8cfd1f332a046774": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"children": [
"IPY_MODEL_efdd0543154c41419318d2792c78ffb1",
"IPY_MODEL_1202c640ef9f41bbbc914724efe44bc1"
],
"layout": "IPY_MODEL_c99c8c543aef4dffb302a9e9063cb3dc"
}
},
"582b250a8051424e8968e2b9769936c4": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"59d75ec48f4647df9a21712316e07f34": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"5a872f11b50b415fa8f19e1950438847": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"5a93db12b02c4a8999caa5b9011074f6": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_1f1e688f42a0486f8b9d68d1c2d7e3d9",
"outputs": [
{
"data": {
"text/html": "\n\n \n \n | | \n width | \n height | \n relative_path | \n type | \n tags | \n
\n \n | | \n | \n | \n | \n | \n time | \n weather | \n
\n \n | id | \n | \n | \n | \n | \n | \n | \n
\n \n \n \n | 200 | \n 640 | \n 427 | \n 785.jpg | \n .jpg | \n day | \n sunny | \n
\n \n
\n",
"text/plain": ""
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"62af9d68b3f64503919bd7735e1967ea": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"64a23506013b4f4fbfbb29100ab4b3bd": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_a6d2854c1f394f7792db677090d9ae79",
"style": "IPY_MODEL_c4a7b899fde3414fb88c7a3fa4e993c7",
"value": "100%"
}
},
"667e4b4282a54423b9a533fe5208dba3": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LinkModel",
"state": {
"source": [
"IPY_MODEL_549d413cb13845379ee6a3a78e409fd7",
"index"
],
"target": [
"IPY_MODEL_764544f8c3b744ba9273aa7f9aad35c7",
"selected_index"
]
}
},
"6b20424f43e34457a459b9fb49563ebd": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"6c6919eb334f47be98faf5ba28ec0e33": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "VBoxModel",
"state": {
"children": [
"IPY_MODEL_5829f3bb40cf45fe8cfd1f332a046774",
"IPY_MODEL_3386375631aa45338f7e9edce9b94b09"
],
"layout": "IPY_MODEL_59d75ec48f4647df9a21712316e07f34"
}
},
"6d440019159f4d84a3c24a4b13ff5b89": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"6e22121a4bec45e1b19131be7fc2b4c9": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "DescriptionStyleModel",
"state": {
"description_width": ""
}
},
"6eb8130148024f58af7d2dfa7afea151": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "DropdownModel",
"state": {
"_options_labels": [
"raw",
"nested"
],
"index": 0,
"layout": "IPY_MODEL_78b0abd0531a474bba9883a74b0279b6",
"style": "IPY_MODEL_8f894354dd5d49e98c0ee8bf67ee743b"
}
},
"6f90bab6fd0a433d92b6568c10011d49": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "VBoxModel",
"state": {
"children": [
"IPY_MODEL_7a774d05dca449298aed214a6a24ed2a",
"IPY_MODEL_cb0353c3b3d9478eb7698c58c9baf2d7"
],
"layout": "IPY_MODEL_0b51da5c21874f6580a40b2b7febf6aa"
}
},
"7067bdcd363a46de8a7715214354aad0": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "VBoxModel",
"state": {
"children": [
"IPY_MODEL_5493f94105a7474980a9785fc1528de8",
"IPY_MODEL_a0ac4aaf7a5449e09f480e6201bc05cb"
],
"layout": "IPY_MODEL_6b20424f43e34457a459b9fb49563ebd"
}
},
"7261a2e98e4044d4a94b6cfcc1b66bf4": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"72fceef903164e3ea814bd95216dbc4f": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LabelStyleModel",
"state": {
"description_width": "",
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"747f2dd2e1ba4ddd86bfc4dd09db8fd8": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"description_width": ""
}
},
"764544f8c3b744ba9273aa7f9aad35c7": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "StackModel",
"state": {
"children": [
"IPY_MODEL_d91f4d2ae06c4d4aac4159000b6311a6",
"IPY_MODEL_8cd7d60565f842b2a3e4839edf9a44a1"
],
"layout": "IPY_MODEL_beaa9f3a774e4f73aa85f825e5f82648",
"selected_index": 0,
"titles": [
"",
""
]
}
},
"78b0abd0531a474bba9883a74b0279b6": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"7a774d05dca449298aed214a6a24ed2a": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_ee240d46f88a48a1bcbc6fb7e7dd7314",
"style": "IPY_MODEL_582b250a8051424e8968e2b9769936c4",
"value": "Dataset object containing 1 image and 2 objects\nName :\n\tNone\nImages root :\n\t../../test_lours/test_data/caipy_dataset/tags/Images
"
}
},
"7b411ff204894507b1e05046a27c96d6": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_ac4ff6daf42a4e38866e6307e6423c1c",
"outputs": [
{
"data": {
"text/html": "\n\n
\n \n \n | \n category string | \n
\n \n | category_id | \n | \n
\n \n \n \n | 2 | \n person | \n
\n \n | 800 | \n head | \n
\n \n
\n
",
"text/plain": " category string\ncategory_id \n2 person\n800 head"
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"7ba1e595d0cd4e33a38718af458506e8": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "StackModel",
"state": {
"children": [
"IPY_MODEL_8be6b7114e624437a0780fc41bbcde4b",
"IPY_MODEL_3efb9b0c090f4637b0aed6db54106d50"
],
"layout": "IPY_MODEL_ff0060cae9d94b33b4a5e385735a2438",
"selected_index": 0,
"titles": [
"",
""
]
}
},
"8111db8f01f8487588cc169fed9dcbed": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"816bc188d37b45989b66a38657e2ced7": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"832c102947f9488b830e9120d8b2c67f": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LabelStyleModel",
"state": {
"description_width": "",
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"83fa3e7b01c3437fa9ada7adbb43a4ab": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"children": [
"IPY_MODEL_add0fbf1df5b43c3905fb329c24f0c7c",
"IPY_MODEL_07c8022be9374b64aa3c20cf242c8cfe",
"IPY_MODEL_e14b398b9ec5451ca69dcce3c74f9d6a"
],
"layout": "IPY_MODEL_6d440019159f4d84a3c24a4b13ff5b89"
}
},
"84100c7e780c4dd6909bd6fe2f99ca2d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"88cba09fff7143e286cdcf19e8456a78": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"8be6b7114e624437a0780fc41bbcde4b": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_f8058b4477c94a9facda7722e1640667",
"outputs": [
{
"data": {
"text/html": "\n\n
\n \n \n | \n image_id | \n category_str | \n category_id | \n box_x_min | \n box_y_min | \n box_width | \n box_height | \n children_ids | \n confidence | \n parent_id | \n attributes.occluded | \n attributes.colors | \n attributes.position | \n
\n \n | id | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n
\n \n \n \n | 0 | \n 200 | \n person | \n 2 | \n 1256.0 | \n 202.0 | \n 59.0 | \n 47.0 | \n [] | \n 0.5 | \n 1 | \n True | \n [blue, turquoise] | \n [] | \n
\n \n | 1 | \n 200 | \n head | \n 800 | \n 1256.0 | \n 202.0 | \n 59.0 | \n 47.0 | \n [0] | \n NaN | \n <NA> | \n None | \n [] | \n [side] | \n
\n \n
\n
",
"text/plain": " image_id category_str category_id box_x_min box_y_min box_width \\\nid \n0 200 person 2 1256.0 202.0 59.0 \n1 200 head 800 1256.0 202.0 59.0 \n\n box_height children_ids confidence parent_id attributes.occluded \\\nid \n0 47.0 [] 0.5 1 True \n1 47.0 [0] NaN None \n\n attributes.colors attributes.position \nid \n0 [blue, turquoise] [] \n1 [] [side] "
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"8cafb999451f4221a8124d400bc0a55d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"8cd7d60565f842b2a3e4839edf9a44a1": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_a6996a82cace49d999cbed1a4fb0abdb",
"outputs": [
{
"data": {
"text/html": "\n\n \n \n | | \n image_id | \n category_str | \n category_id | \n box_x_min | \n box_y_min | \n box_width | \n box_height | \n children_ids | \n confidence | \n parent_id | \n attributes | \n
\n \n | | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n occluded | \n colors | \n position | \n
\n \n | | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n beige | \n black | \n blue | \n brown | \n cyan | \n green | \n grey | \n orange | \n pink | \n purple | \n red | \n turquoise | \n yellow | \n back | \n front | \n side | \n top | \n unknown | \n
\n \n | id | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n
\n \n \n \n | 0 | \n 200 | \n person | \n 2 | \n 1256.000000 | \n 202.000000 | \n 59.000000 | \n 47.000000 | \n [] | \n 0.500000 | \n 1 | \n True | \n False | \n False | \n True | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n True | \n False | \n False | \n False | \n False | \n False | \n False | \n
\n \n | 1 | \n 200 | \n head | \n 800 | \n 1256.000000 | \n 202.000000 | \n 59.000000 | \n 47.000000 | \n [0] | \n nan | \n | \n None | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n True | \n False | \n False | \n
\n \n
\n",
"text/plain": ""
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"8d6199a3871349debdfc0cb8897ea864": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"8de82515a9794723b9c81fb955f3e289": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"8f894354dd5d49e98c0ee8bf67ee743b": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "DescriptionStyleModel",
"state": {
"description_width": ""
}
},
"9008e4454f0241458be4b73eaa693dc3": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"945580f822df48c486846b21da68dad3": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"94f9c5f8a41d4892a49c34eeadf16df4": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"width": "auto"
}
},
"9697d7c26c324dbfb89d987d7983571f": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"9d8a7b299a9f4d598e0e1c69bde24923": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_cb66a7ceaa5941078911876f1a396f5d",
"style": "IPY_MODEL_9008e4454f0241458be4b73eaa693dc3",
"value": "100%"
}
},
"a0ac4aaf7a5449e09f480e6201bc05cb": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "StackModel",
"state": {
"children": [
"IPY_MODEL_b419179e66264c568b48400f27e214bf",
"IPY_MODEL_5a93db12b02c4a8999caa5b9011074f6"
],
"layout": "IPY_MODEL_f7d6302323bf4bfb93145887943d8696",
"selected_index": 0,
"titles": [
"",
""
]
}
},
"a4b5e8b0543546479436bf4508650eb2": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_9697d7c26c324dbfb89d987d7983571f",
"outputs": [
{
"data": {
"text/html": "\n\n \n \n | | \n width | \n height | \n relative_path | \n type | \n tags | \n
\n \n | | \n | \n | \n | \n | \n time | \n weather | \n
\n \n | id | \n | \n | \n | \n | \n | \n | \n
\n \n \n \n | 200 | \n 640 | \n 427 | \n 785.jpg | \n .jpg | \n day | \n sunny | \n
\n \n
\n",
"text/plain": ""
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"a6996a82cace49d999cbed1a4fb0abdb": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"a6a54532063d4f2192b6d2789bdf1084": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"bar_style": "success",
"layout": "IPY_MODEL_816bc188d37b45989b66a38657e2ced7",
"max": 2,
"style": "IPY_MODEL_aaeb1b50dce7497a834f277eb76482ed",
"value": 2
}
},
"a6d2854c1f394f7792db677090d9ae79": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"a9f9a646f9374a3ba733d2a07dc17c92": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "FloatProgressModel",
"state": {
"bar_style": "success",
"layout": "IPY_MODEL_84100c7e780c4dd6909bd6fe2f99ca2d",
"max": 1,
"style": "IPY_MODEL_ffce6b7069e64cc5bbf0f7f20f48ccfd",
"value": 1
}
},
"aaeb1b50dce7497a834f277eb76482ed": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"description_width": ""
}
},
"ab5f61a0128345cda42a8ef8cd5e4e0c": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_0472a0c52b384c20bac6bba7be697d7a",
"style": "IPY_MODEL_1613cfa2cd45417ba93de2b5ce06cff1",
"value": " 1/1 [00:00<00:00, 268.30it/s]"
}
},
"ac4ff6daf42a4e38866e6307e6423c1c": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"add0fbf1df5b43c3905fb329c24f0c7c": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_0778ae2a76624d2bb213cfd3edc6b0c0",
"style": "IPY_MODEL_fd7fe384d24740a4a794e1033ccc4418",
"value": "100%"
}
},
"afa310091e6746029cdf6a67d3c64810": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"b149b4fbbecc4014ba875fc52e4bae83": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LinkModel",
"state": {
"source": [
"IPY_MODEL_ed741ca35a4d43d381ed7b2535bf8072",
"index"
],
"target": [
"IPY_MODEL_3386375631aa45338f7e9edce9b94b09",
"selected_index"
]
}
},
"b419179e66264c568b48400f27e214bf": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_daa90d3456594b8283afa01d77962bb8",
"outputs": [
{
"data": {
"text/html": "\n\n
\n \n \n | \n width | \n height | \n relative_path | \n type | \n tags.time | \n tags.weather | \n
\n \n | id | \n | \n | \n | \n | \n | \n | \n
\n \n \n \n | 200 | \n 640 | \n 427 | \n 785.jpg | \n .jpg | \n day | \n sunny | \n
\n \n
\n
",
"text/plain": " width height relative_path type tags.time tags.weather\nid \n200 640 427 785.jpg .jpg day sunny"
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"b812c9c9a28e4f659fef5b2664c63d45": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"b980a535007f4e8e829e31917b4bf732": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LinkModel",
"state": {
"source": [
"IPY_MODEL_549d413cb13845379ee6a3a78e409fd7",
"index"
],
"target": [
"IPY_MODEL_7ba1e595d0cd4e33a38718af458506e8",
"selected_index"
]
}
},
"beaa9f3a774e4f73aa85f825e5f82648": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"c01cc6cb84634d7681bec200fbf7c97c": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"c4a7b899fde3414fb88c7a3fa4e993c7": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"c6e6d89936094b358cf8e337738c153b": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"c88961be156e4788a619d140851f9332": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"description_width": ""
}
},
"c99c8c543aef4dffb302a9e9063cb3dc": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"caa0b80e1eca4d8bb201d7564db9c8cf": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LabelModel",
"state": {
"layout": "IPY_MODEL_34c1d2ad78204bc7aa3de0d414b0fe0b",
"style": "IPY_MODEL_08145d806a2e44a2b0c0b5b53c16e157",
"value": "Column format"
}
},
"cb0353c3b3d9478eb7698c58c9baf2d7": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "TabModel",
"state": {
"children": [
"IPY_MODEL_f56bbc59797e43dabe586dfc62e624ce",
"IPY_MODEL_e6ad46ef21fb44d394b1bb05d9317fc7",
"IPY_MODEL_7b411ff204894507b1e05046a27c96d6"
],
"layout": "IPY_MODEL_df339ee1ee724facb026e650075d1fa6",
"selected_index": 0,
"titles": [
"Images",
"Annotations",
"Label Map"
]
}
},
"cb66a7ceaa5941078911876f1a396f5d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"cf3ed0b8ec2f4217ba17c19b04a07dbd": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"d000be4f92144f4b9c8bb566c3ffe3d3": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_8cafb999451f4221a8124d400bc0a55d",
"style": "IPY_MODEL_1905b37bd49745b2a2e7458d07b4ce10",
"value": " 0%"
}
},
"d19def3b87944cc99f9185b90eb2188f": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"d35853516d0d4a2fa78b663d9a02bec6": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"d91f4d2ae06c4d4aac4159000b6311a6": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_d35853516d0d4a2fa78b663d9a02bec6",
"outputs": [
{
"data": {
"text/html": "\n\n
\n \n \n | \n image_id | \n category_str | \n category_id | \n box_x_min | \n box_y_min | \n box_width | \n box_height | \n children_ids | \n confidence | \n parent_id | \n ... | \n attributes.colors.pink | \n attributes.colors.purple | \n attributes.colors.red | \n attributes.colors.turquoise | \n attributes.colors.yellow | \n attributes.position.back | \n attributes.position.front | \n attributes.position.side | \n attributes.position.top | \n attributes.position.unknown | \n
\n \n | id | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n | \n
\n \n \n \n | 0 | \n 200 | \n person | \n 2 | \n 1256.0 | \n 202.0 | \n 59.0 | \n 47.0 | \n [] | \n 0.5 | \n 1 | \n ... | \n False | \n False | \n False | \n True | \n False | \n False | \n False | \n False | \n False | \n False | \n
\n \n | 1 | \n 200 | \n head | \n 800 | \n 1256.0 | \n 202.0 | \n 59.0 | \n 47.0 | \n [0] | \n NaN | \n <NA> | \n ... | \n False | \n False | \n False | \n False | \n False | \n False | \n False | \n True | \n False | \n False | \n
\n \n
\n
2 rows × 29 columns
\n
",
"text/plain": " image_id category_str category_id box_x_min box_y_min box_width \\\nid \n0 200 person 2 1256.0 202.0 59.0 \n1 200 head 800 1256.0 202.0 59.0 \n\n box_height children_ids confidence parent_id ... \\\nid ... \n0 47.0 [] 0.5 1 ... \n1 47.0 [0] NaN ... \n\n attributes.colors.pink attributes.colors.purple attributes.colors.red \\\nid \n0 False False False \n1 False False False \n\n attributes.colors.turquoise attributes.colors.yellow \\\nid \n0 True False \n1 False False \n\n attributes.position.back attributes.position.front \\\nid \n0 False False \n1 False False \n\n attributes.position.side attributes.position.top \\\nid \n0 False False \n1 True False \n\n attributes.position.unknown \nid \n0 False \n1 False \n\n[2 rows x 29 columns]"
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"daa90d3456594b8283afa01d77962bb8": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"df339ee1ee724facb026e650075d1fa6": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"e14b398b9ec5451ca69dcce3c74f9d6a": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_4e6a9a7046c54d3dbc3a36ce7d9d01e0",
"style": "IPY_MODEL_132a6bc35e734f4f83266d240d1cd744",
"value": " 2/2 [00:00<00:00, 244.85it/s]"
}
},
"e6ad46ef21fb44d394b1bb05d9317fc7": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_494095efddbe4d71b61a012fbf915854",
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6c6919eb334f47be98faf5ba28ec0e33",
"version_major": 2,
"version_minor": 0
},
"text/plain": "VBox(children=(HBox(children=(VBox(children=(Label(value='Booleanize'), Label(value='Column format'))), VBox(c…"
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"e6fbb2d2b90b4174ab7da2bc3c0fb06e": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"e86cdb20f4494218bb77df42d5f395a7": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"children": [
"IPY_MODEL_9d8a7b299a9f4d598e0e1c69bde24923",
"IPY_MODEL_a9f9a646f9374a3ba733d2a07dc17c92",
"IPY_MODEL_ab5f61a0128345cda42a8ef8cd5e4e0c"
],
"layout": "IPY_MODEL_88cba09fff7143e286cdcf19e8456a78"
}
},
"e8bbf1c121694b819c95b56fce893fb2": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"children": [
"IPY_MODEL_d000be4f92144f4b9c8bb566c3ffe3d3",
"IPY_MODEL_49005d311ed749579739e17178d63113",
"IPY_MODEL_4c99ce4d531d4c93962e9128578d845e"
],
"layout": "IPY_MODEL_62af9d68b3f64503919bd7735e1967ea"
}
},
"ed741ca35a4d43d381ed7b2535bf8072": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ToggleButtonsModel",
"state": {
"_options_labels": [
"yes ",
"no "
],
"button_style": "",
"icons": [
"check",
"times"
],
"index": 0,
"layout": "IPY_MODEL_94f9c5f8a41d4892a49c34eeadf16df4",
"style": "IPY_MODEL_339a0f00e9824c288198159a2f73f01e",
"tooltips": []
}
},
"ee240d46f88a48a1bcbc6fb7e7dd7314": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"efdd0543154c41419318d2792c78ffb1": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "VBoxModel",
"state": {
"children": [
"IPY_MODEL_3c1d3ed53fcf45c8b92ac7eabb027f50",
"IPY_MODEL_caa0b80e1eca4d8bb201d7564db9c8cf"
],
"layout": "IPY_MODEL_cf3ed0b8ec2f4217ba17c19b04a07dbd"
}
},
"f3133f171cfe43638d63c5cf30547758": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "LabelModel",
"state": {
"layout": "IPY_MODEL_e6fbb2d2b90b4174ab7da2bc3c0fb06e",
"style": "IPY_MODEL_72fceef903164e3ea814bd95216dbc4f",
"value": "Column format"
}
},
"f56bbc59797e43dabe586dfc62e624ce": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"layout": "IPY_MODEL_0cab193239a241ffb35beb1b574f5c7b",
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "7067bdcd363a46de8a7715214354aad0",
"version_major": 2,
"version_minor": 0
},
"text/plain": "VBox(children=(HBox(children=(Label(value='Column format'), Dropdown(options=('raw', 'nested'), value='raw')))…"
},
"metadata": {},
"output_type": "display_data"
}
]
}
},
"f7d6302323bf4bfb93145887943d8696": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"f8058b4477c94a9facda7722e1640667": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"f961f09764c94c2fa7b64cda94f2edcc": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"layout": "IPY_MODEL_8d6199a3871349debdfc0cb8897ea864",
"style": "IPY_MODEL_afa310091e6746029cdf6a67d3c64810",
"value": " 2/2 [00:00<00:00, 373.42it/s]"
}
},
"fd7fe384d24740a4a794e1033ccc4418": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"description_width": "",
"font_size": null,
"text_color": null
}
},
"ff0060cae9d94b33b4a5e385735a2438": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"ffce6b7069e64cc5bbf0f7f20f48ccfd": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"description_width": ""
}
}
},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}