-
Notifications
You must be signed in to change notification settings - Fork 6
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
recalculates segmentation even though segmentation has completed if parameters change to intermediate = True #8
Comments
sophiamaedler
changed the title
recalculates segmentation even though segmentation has completed if switched to intermediate = True
recalculates segmentation even though segmentation has completed if parameters change to intermediate = True
Dec 6, 2021
Segmentation is also recalculated if resolve_sharding did not complete even though the segmentation of each individual shard completed successfully. It seems to only check for the presence of intermediate maps like below and not for the presence of a segmentation.h5 file.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a segmentation has been previously successfully calculated with intermediate_output = False but the workflow needs to be reprocessed (e.g. because one shard did not segment properly) and in this reprocessing intermediate_output = True and overwrite = False all tiles are still reprocessed and not only the one that is missing the final segmentation file. It could be beneficial to introduce a check where it looks for the completed segmentation file instead of searching for the individual intermediate outputs. Only if it doesn't find the completed segmentation file does it check for intermediate outputs and try to continue where it left of.
In addition we should add some options to force reprocessing of the pipeline after a specific step. E.g. if the filtering parameters to select cells change so that not the entire pipeline needs to be rerun but only those specific steps and all downstream ones.
The text was updated successfully, but these errors were encountered: