Skip to content

Commit

Permalink
Update StarDist_2D_ZeroCostDL4Mic.ipynb
Browse files Browse the repository at this point in the history
remove model.exportTF as it does not work with Keras 3 anymore. For it to work, keras 2.14 needs to be installed
  • Loading branch information
esgomezm authored Aug 25, 2024
1 parent 4827d1d commit 2233a2e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Colab_notebooks/StarDist_2D_ZeroCostDL4Mic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
"source": [
"from __future__ import print_function, unicode_literals, absolute_import, division\n",
"#@markdown ##Load key dependencies\n",
"Notebook_version = '1.19.3'\n",
"Notebook_version = '1.20.1'\n",
"Network = 'StarDist 2D'\n",
"\n",
"from builtins import any as b_any\n",
Expand Down Expand Up @@ -1562,7 +1562,7 @@
"hour, mins = divmod(mins, 60) \n",
"print(\"Time elapsed:\",hour, \"hour(s)\",mins,\"min(s)\",round(sec),\"sec(s)\")\n",
"\n",
"model.export_TF()\n",
"# model.export_TF()\n",
"\n",
"#print(\"Your model has been sucessfully exported and can now also be used in the Stardist Fiji plugin\")\n",
"\n",
Expand Down Expand Up @@ -2428,6 +2428,10 @@
"source": [
"# **7. Version log**\n",
"---\n",
"<font size = 4>**v1.20**: \n",
"\n",
"* commenting model.exportTF. This was only valid until Keras<3. BioimageIO export does not work at the moment.\n",
"\n",
"<font size = 4>**v1.19.3**: \n",
"\n",
"* freezing bioimageio dependency\n",
Expand Down

0 comments on commit 2233a2e

Please sign in to comment.