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
Mask python training example #4415
Mask python training example #4415
Conversation
fff21d1
to
39bd64c
Compare
@joshmoore https://ci.openmicroscopy.org/view/Failing/job/OMERO-DEV-merge-training/214/console failed with
|
@will-moore: reading the commit history, I suspect 69c1e50e0afe7ee96de114806a1b8e2c145334f6 will fix this failure in tomorrow's build |
This seems to be working fine. |
@will-moore we've have never looked into doing it the other way round (it should be rather straight forward), since the rendering engine has the ability to render the masks. In principle you can request an image with a mask on it from the server. The only problem doing it this way is the fact that it supports only the masks that match the image plane size. |
@joshmoore I wonder if it's slightly nicer to use something like this instead of random array, since then if you're doing some subsequent work with the mask, you have some idea if it's working/looking right?
|
Emil pointed out that tobytes has been removed in later numpy versions since both methods were identical.
69c1e50
to
b273a07
Compare
Rebased and force pushed on top of 4412 and added @will-moore's non-random mask suggestion. |
b273a07
to
23edf1d
Compare
Working fine. Good to merge. |
Mask python training example
Carry-on from:
Thanks to @emilroz