I have encountered the following error when running the note book StarDist_2D_ZeroCostDL4Mic.ipynbv1.20ImportError: cannot import name 'load_resource_description' from 'bioimageio.core' (/usr/local/lib/python3.10/dist-packages/bioimageio/core/__init__.py)
I have reproduced the error both downloading and building the image dde721010650
To give you some more information:
Inside the running container the bioimageio.core the version is 0.6.8
Then inside the python interpreter I checked that load_resource_description is not there
Hello,
I have encountered the following error when running the note book
StarDist_2D_ZeroCostDL4Mic.ipynb
v1.20
ImportError: cannot import name 'load_resource_description' from 'bioimageio.core' (/usr/local/lib/python3.10/dist-packages/bioimageio/core/__init__.py)
I have reproduced the error both downloading and building the image
dde721010650
To give you some more information: Inside the running container thebioimageio.core
the version is0.6.8
Then inside the python interpreter I checked thatload_resource_description
is not there['Axis', 'AxisId', 'BlockMeta', 'MemberId', 'PredictionPipeline', 'Sample', 'Tensor', 'VERSION', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '_magic_tensor_ops', '_op_base', '_prediction_pipeline', '_resource_tests', '_settings', 'axis', 'block', 'block_meta', 'build_description', 'common', 'create_prediction_pipeline', 'digest_spec', 'dump_description', 'io', 'load_description', 'load_description_and_test', 'load_description_and_validate_format_only', 'load_model', 'load_resource', 'model_adapters', 'predict', 'predict_many', 'prediction', 'proc_ops', 'proc_setup', 'sample', 'save_bioimageio_package', 'save_bioimageio_package_as_folder', 'save_bioimageio_yaml_only', 'settings', 'stat_calculators', 'stat_measures', 'tensor', 'test_description', 'test_model', 'test_resource', 'utils', 'validate_format']
What I think It happened here is that
load_resource_description
was renamed toload_description
https://github.com/bioimage-io/core-bioimage-io-python/commit/2fc6f3aba2a847388bbf80a6a391efb05d0ae1e6
Best, Jorge