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

Predicted layer has different pixel size than input data #36

Closed
haesleinhuepf opened this issue Dec 15, 2022 · 3 comments
Closed

Predicted layer has different pixel size than input data #36

haesleinhuepf opened this issue Dec 15, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@haesleinhuepf
Copy link
Contributor

haesleinhuepf commented Dec 15, 2022

After training, when predicting a new image, the new layer added to napari has pixel size [1,1]. If the original input data had a different pixel size, the images do not fit to each other.

Workaround: In the console of napari, you can transfer the pixel size of one layer to another like this

viewer.layers[-1].scale = viewer.layers[0].scale

CC @thawn

@jdeschamps
Copy link
Member

Thanks for the feedback!

I will tackle all the outstanding issues after the holiday season. :)

@haesleinhuepf
Copy link
Contributor Author

No hurry and Merry Christmas! 🎄😃

@jdeschamps jdeschamps added the bug Something isn't working label Jan 24, 2023
jdeschamps added a commit that referenced this issue Jan 24, 2023
@jdeschamps
Copy link
Member

jdeschamps commented Jan 24, 2023

Happy new year then ^^

This should be fixed in 9d26f84 and 8558530.

We plan to merge those in a new release next week.

jdeschamps added a commit that referenced this issue Jan 25, 2023
Merge fixes:
- #32
- #33 
- #34 
- #35
- #36
- Export and load TF SavedModel bundle
- Better bioimage.io format export and import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants