Skip to content

ModuleNotFoundError: No module named 'bioimageio.core.build_spec #155

@XarlesMicro

Description

@XarlesMicro

I installed and followed the instructions to run n2v. After some work, I managed to perform some training on it, although I still have some problems. I have been trying to run the examples in the Jupyter notebooks. Nevertheless, the big problem is that during export of the model:

model.export_TF(name='Noise2Void - 2D SEM Example', description='This is the 2D Noise2Void example trained on SEM data in python.', authors=["Tim-Oliver Buchholz", "Alexander Krull", "Florian Jug"], test_img=X_val[0,...], axes='YXC', patch_shape=patch_shape)

I always encounter the same problem:

ModuleNotFoundError: No module named 'bioimageio.core.build_spec'

in

`... build_modelzoo(result_path, weights_path, bundle_path, inputs, outputs, preprocessing, postprocessing, doc, name, authors, algorithm, tf_version, cite, axes, files, **kwargs)
108 def build_modelzoo(
109 result_path: Union[str, Path],
110 weights_path: Union[str, Path],
(...)
124 **kwargs,
125 ):
--> 126 from bioimageio.core.build_spec import build_model
128 tags_dim = "3d" if len(axes) == 5 else "2d"
130 build_model(
131 root=bundle_path,
132 weight_uri=weights_path,
(...)
156 **kwargs,
157 )

ModuleNotFoundError: No module named 'bioimageio.core.build_spec'"
}`

Any advise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions