File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1212 Union ,
1313)
1414
15+ from loguru import logger
1516from tqdm import tqdm
1617
1718from bioimageio .spec .model import AnyModelDescr , v0_4 , v0_5
@@ -188,9 +189,15 @@ def predict_sample_with_fixed_blocking(
188189 )
189190 input_blocks = list (input_blocks )
190191 predicted_blocks : List [SampleBlock ] = []
192+ logger .info (
193+ "split sample shape {} into {} blocks of {}." ,
194+ {k : dict (v ) for k , v in sample .shape .items ()},
195+ n_blocks ,
196+ {k : dict (v ) for k , v in input_block_shape .items ()},
197+ )
191198 for b in tqdm (
192199 input_blocks ,
193- desc = f"predict sample { sample .id or '' } with { self .model_description .id or self .model_description .name } " ,
200+ desc = f"predict { sample .id or '' } with { self .model_description .id or self .model_description .name } " ,
194201 unit = "block" ,
195202 unit_divisor = 1 ,
196203 total = n_blocks ,
You can’t perform that action at this time.
0 commit comments