Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fiji error when runnnig n2v-sem demo model with bioimage.io #109

Closed
maweigert opened this issue Jun 3, 2021 · 3 comments
Closed

Fiji error when runnnig n2v-sem demo model with bioimage.io #109

maweigert opened this issue Jun 3, 2021 · 3 comments

Comments

@maweigert
Copy link

Hi,

I am trying to get the n2v bioimage.io demo model to run from inside Fiji, yet without success.

Ways to reproduce:

Screenshot 2021-06-03 at 02 07 49

Any ideas?

@tomburke-rse
Copy link

Hi @maweigert,

I manage to reproduce the error, but so far could not find the exact source of the problem. It seems that the image is not set as input data for the tensor, resulting in the NPE.

Since the model you use is a very old one (and I guess it's for testing purposes only?) a workaround would be to use one of the test models from imagej-modelzoo:
https://github.com/imagej/imagej-modelzoo/raw/master/src/test/resources/net/imagej/modelzoo/consumer/denoise2D/dummy-0.3.0.model.bioimage.io.zip

@maweigert
Copy link
Author

Hi @tomburke-rse ,

thanks for the quick reply!

Since the model you use is a very old one (and I guess it's for testing purposes only?)

Ah, ok. I used the one directly from https://bioimage.io , so good to know that its outdated ;)

a workaround would be to use one of the test models from imagej-modelzoo:
https://github.com/imagej/imagej-modelzoo/raw/master/src/test/resources/net/imagej/modelzoo/consumer/denoise2D/dummy-0.3.0.model.bioimage.io.zip

Ok, that worked, thanks!

@tomburke-rse
Copy link

Post Edit:
I uploaded a new release for the most recent version to the repo, but unfortunately 0.3.0 is hardcoded (and we're at 0.3.1). I'll have that fixed and hopefully released by tomorrow, so that the sem-demo also works from bioimage.io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants