-
Notifications
You must be signed in to change notification settings - Fork 17
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
Definition of implicit tensors #493
Comments
Small corrections to our earlier rant:
. In a scenario where e.g. one channel turns into 33 channels like in StarDist, these values would be |
Also, many architectures are not translationally invariant and cannot be tiled correctly by tiling the full outputs of valid input shapes. |
yes, agreed (we discussed this a little already in #234 (comment)). I like the addition of
This assumes that there is no scaling factor between the physical space of tensor (aka output) and reference (aka input). If we do want to support that---"a network generating a meter of output per nano meter of input"---we'd have to add an additional "warp factor" per output... (maybe only if that use case arises^^)
not sure how to specify "how to tile", which is what missing translational invariance would incur, but giving output I am totally open to changing how the offset/margin is defined. We can flip the sign and/or leave out the factor 2... I won't object to any of it. I like flipping the sign (and keeping the factor 2), such that the output (tensor)'s origin is at offset wrt to the input (reference) origin. To avoid confusion (especially when flipping a sign from one spec version to another) I'd consider to change the field name as well, e.g. |
Current draft to implement the changes discussed here: spec-bioimage-io/bioimageio/spec/model/v0_5.py Lines 187 to 215 in 5ea9f7e
|
released as part of model description 0.5 |
We are at the HT hackathon, and we had a discussion about the ImplicitOutputShape in the README:
@axtimwalde raised the following questions/suggestions about it:
shape(input_tensor) * scale - 2 * offset
instead of+2 * offset
input_tensor
toreference_tensor
inshape = shape(input_tensor) * scale + 2 * offset
cc @FynnBe @constantinpape @dasv74
The text was updated successfully, but these errors were encountered: