Skip to content

Commit 5abec35

Browse files
committed
update model_usage.ipynb
1 parent 6277ce2 commit 5abec35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/model_usage.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"If you are running the notebook locally you need to pip install the following dependencies into your local environment. Make sure to restart your notebook kernel after installing dependencies.\n",
3535
"\n",
3636
"```console\n",
37-
"pip install bioimageio.core==0.8.0 torch==2.5.1 matplotlib==3.10.1\n",
37+
"pip install bioimageio.core==0.9.1 torch==2.5.1 matplotlib==3.10.1\n",
3838
"```"
3939
]
4040
},
@@ -531,7 +531,7 @@
531531
"from bioimageio.core.digest_spec import create_sample_for_model\n",
532532
"from bioimageio.spec.utils import download\n",
533533
"\n",
534-
"input_paths = {ipt.id: download(ipt.test_tensor).path for ipt in model.inputs}\n",
534+
"input_paths = {ipt.id: ipt.test_tensor.source for ipt in model.inputs}\n",
535535
"print(f\"input paths: {input_paths}\")\n",
536536
"assert isinstance(model, ModelDescr)\n",
537537
"sample = create_sample_for_model(\n",

0 commit comments

Comments
 (0)