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

chore: fix subchunkable output text strings #816

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def build_postpad_subchunkable_apply_flow( # pylint: disable=keyword-arg-before
f"\t`processing_blend`:\t\t{tuple(processing_blend)}\t(at all levels)\n"
"As core chunk sizes, before padding for crop and blend:\n"
f"\t`processing_chunk_sizes`:"
"\t{', '.join(size.pformat() for size in processing_chunk_sizes)}\n"
f"\t{', '.join(size.pformat() for size in processing_chunk_sizes)}\n"
"The bottom level chunk size will be respected to maintain the input size of "
f"{tuple(processing_input_sizes[-1])} while the other levels will be "
"treated as upper bounds, fitting in as many chunks as possible."
Expand Down Expand Up @@ -1158,11 +1158,11 @@ def _build_subchunkable_apply_flow( # pylint: disable=keyword-arg-before-vararg
error_str = (
"At each level (where the 0-th level is the smallest), the"
" `processing_chunk_size[level+1]` + 2*`processing_crop_pad[level+1]` + 2*`processing_blend_pad[level+1]`"
" + processing_gap must be"
" + `processing_gap` must be"
f" evenly divisible by the `processing_chunk_size[level]` + processing_gap (processing_gap applies only on top level).\n"
f"\nAt level {level}, received:\n"
f"`processing_chunk_size[level+1]`:\t\t\t\t\t\t{processing_chunk_size_higher}\n"
f"`applicable processing_gap`:\t\t\t\t\t\t\t\t{processing_gap_higher}\n"
f"`processing_gap`:\t\t\t\t\t\t\t\t{processing_gap_higher}\n"
f"`processing_crop_pad[level+1]` ((0, 0, 0) for the top level):\t\t\t{processing_crop_pad_higher}\n"
f"`processing_blend_pad[level+1]`:\t\t\t\t\t\t{processing_blend_pad_higher}\n"
f"Size of the region to be processed for the level:\t\t\t\t{processing_region}\n"
Expand Down
Loading