From cd34d136d416d76483132e1c99c65240b25f3851 Mon Sep 17 00:00:00 2001 From: carlosuc3m <49989524+carlosuc3m@users.noreply.github.com> Date: Thu, 19 Oct 2023 17:09:30 +0200 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 59d9e67c..dae53e06 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,8 @@ Due to the dual possibilities of JDLL, there are 2 Quickstarts available dependi # Scripting examples -* [example-run-model-in-fiji](https://github.com/bioimage-io/JDLL/blob/main/scripts/example-run-model-in-fiji.py) (Requires to be executed from Fiji, as it uses the application to display the result image) +* [example-run-model-in-fiji](https://github.com/bioimage-io/JDLL/blob/main/scripts/example-run-model-in-fiji.py) (Requires to be executed from Fiji, as it uses the application to display the result image, cannot be executed on Apple Silicon computers) +* [example-run-pytorch-model-in-fiji.py](https://github.com/bioimage-io/JDLL/blob/main/scripts/example-run-pytorch-model-in-fiji.py) (Requires to be executed from Fiji, as it uses the application to display the result image) * [example-download-bmz-model](https://github.com/bioimage-io/JDLL/blob/main/scripts/example-download-bmz-model.py) * [example-download-engine](https://github.com/bioimage-io/JDLL/blob/main/scripts/example-download-engine.py) @@ -426,7 +427,7 @@ JDLL provides the needed methods to install the wanted engines in an easy manner from io.bioimage.modelrunner.engine.installation import EngineInstall framework = "tensorflow" -version = "2.11.0" +version = "2.7.0" cpu = True gpu = True @@ -523,7 +524,7 @@ wrapImg = ImageJFunctions.convertFloat(imp) # Permute from "xy" to "yx" wrapImg = Views.permute(wrapImg, 0, 1) # Add one dimension to "yxb", from (512, 512) to (512, 512, 1) -wrapImg = Views.addDimension(wrapImg, 0, 0 +wrapImg = Views.addDimension(wrapImg, 0, 0) # Permute from "yxb" and (512, 512, 1) to "bxy" and (1, 512, 512) wrapImg = Views.permute(wrapImg, 0, 2) # Add one dimension to get "bxyc", from (1, 512, 512) to (1, 512, 512, 1)