File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,16 @@ def test_load_model_with_rel_str_source(unet2d_nuclei_broad_model):
70
70
assert model
71
71
72
72
73
+ @pytest .mark .skipif (pytest .skip_torch , reason = "remote model is a pytorch model" )
74
+ def test_load_remote_rdf ():
75
+ from bioimageio .core import load_resource_description
76
+ from bioimageio .core .resource_io import nodes
77
+
78
+ remote_rdf = "https://zenodo.org/api/files/63b44f05-a187-4fc9-81c8-c4568535531b/rdf.yaml"
79
+ model = load_resource_description (remote_rdf )
80
+ assert isinstance (model , nodes .Model )
81
+
82
+
73
83
@pytest .mark .skipif (True , reason = "No suitable test model available yet" )
74
84
def test_load_remote_rdf_with_folders ():
75
85
from bioimageio .core import load_resource_description , load_raw_resource_description
You can’t perform that action at this time.
0 commit comments