Skip to content

Commit

Permalink
Update padding documentation in PatchInferencerEngine to clarify expe…
Browse files Browse the repository at this point in the history
…cted dimensions
  • Loading branch information
GabrielBG0 committed Nov 11, 2024
1 parent 44b367f commit 5db1803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minerva/engines/patch_inferencer_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __init__(
Expected shape of the model output per patch. Defaults to input_shape.
padding : dict, optional
Padding configuration with keys:
- 'pad': Tuple of padding for each dimension, e.g., (0, 3, 3).
- 'pad': Tuple of padding for each expected final dimension, e.g., (0, 512, 512) - (c, h, w).
- 'mode': Padding mode, e.g., 'constant', 'reflect'.
- 'value': Padding value if mode is 'constant'.
"""
Expand Down

0 comments on commit 5db1803

Please sign in to comment.