Skip to content

Commit

Permalink
Changed default voxel size for Bioimage Model Zoo format export
Browse files Browse the repository at this point in the history
  • Loading branch information
mariana-gferreira committed Jan 12, 2024
1 parent d152a25 commit c7c1969
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Colab_notebooks/Latest_Notebook_versions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Detectron 2D,1.14.1
fnet (2D),1.14.1
fnet (3D),1.13.1
U-Net (2D),2.1.1
U-Net (3D),2.1.2
U-Net (3D),2.1.3
U-Net (2D) multilabel,2.1.2
Kaibu,1.13.2
MaskRCNN,1.14.1
Expand Down
12 changes: 8 additions & 4 deletions Colab_notebooks/U-Net_3D_ZeroCostDL4Mic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
"from __future__ import absolute_import, division, print_function, unicode_literals\n",
"\n",
"#@markdown ##Load key 3D U-Net dependencies and instantiate network\n",
"Notebook_version = '2.1.2'\n",
"Notebook_version = '2.1.3'\n",
"Network = 'U-Net (3D)'\n",
"\n",
"from builtins import any as b_any\n",
Expand Down Expand Up @@ -2308,10 +2308,10 @@
"## project it into the (0,1) range to operate with it in the bioimageio.core\n",
"threshold = float(threshold) / 255\n",
"\n",
"#@markdown ##Introduce the voxel size (pixel size for each Z-slice and the distance between Z-salices) (in microns) of the image provided as an example of the model processing:\n",
"#@markdown ##Introduce the voxel size (pixel size for each Z-slice and the distance between Z-slices) (in microns) of the image provided as an example of the model processing:\n",
"# information about the example image\n",
"PixelSize = 0.8 #@param {type:\"number\"}\n",
"Zdistance = 0.005 #@param {type:\"number\"}\n",
"PixelSize = 1 #@param {type:\"number\"}\n",
"Zdistance = 1 #@param {type:\"number\"}\n",
"#@markdown ##Do you want to choose the exampleimage?\n",
"default_example_image = True #@param {type:\"boolean\"}\n",
"#@markdown ###If not, please input:\n",
Expand Down Expand Up @@ -2748,6 +2748,10 @@
"# **7. Version log**\n",
"\n",
"---\n",
"<font size = 4>**v2.1.3**: \n",
"\n",
"* Changed default voxel size for Bioimage Model Zoo format export\n",
"\n",
"<font size = 4>**v2.1.2**: \n",
"\n",
"* Prediction results should now correctly be saved as volumes\n",
Expand Down

0 comments on commit c7c1969

Please sign in to comment.