Skip to content

Commit

Permalink
update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
iulusoy committed Jun 13, 2024
1 parent d8d740f commit 9d567be
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ammico/notebooks/DemoNotebook_ammico.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,7 @@
"outputs": [],
"source": [
"for num, key in tqdm(enumerate(image_dict.keys()), total=len(image_dict)): # loop through all images\n",
" print(image_dict[key])\n",
" image_dict[key] = ammico.EmotionDetector(image_dict[key]).analyse_image() # analyse image with EmotionDetector and update dict\n",
" print(image_dict[key])\n",
" if num % dump_every == 0 or num == len(image_dict) - 1: # save results every dump_every to dump_file\n",
" image_df = ammico.get_dataframe(image_dict)\n",
" image_df.to_csv(dump_file)"
Expand All @@ -282,16 +280,6 @@
"`TextDetector`:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"os.environ.pop(\"DISCLOSURE_AMMICO\")\n",
"os.environ.get(\"DISCLOSURE_AMMICO\")"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 9d567be

Please sign in to comment.