mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-08 19:59:56 +02:00
🧹 Downgrade "Patch size" log message to debug
Fixes gh-55.
This commit is contained in:
parent
adf10942fa
commit
f27ac155ae
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ class Eynollah:
|
||||||
if img.shape[1] < img_width_model:
|
if img.shape[1] < img_width_model:
|
||||||
img = resize_image(img, img.shape[0], img_width_model)
|
img = resize_image(img, img.shape[0], img_width_model)
|
||||||
|
|
||||||
self.logger.info("Patch size: %sx%s", img_height_model, img_width_model)
|
self.logger.debug("Patch size: %sx%s", img_height_model, img_width_model)
|
||||||
margin = int(marginal_of_patch_percent * img_height_model)
|
margin = int(marginal_of_patch_percent * img_height_model)
|
||||||
width_mid = img_width_model - 2 * margin
|
width_mid = img_width_model - 2 * margin
|
||||||
height_mid = img_height_model - 2 * margin
|
height_mid = img_height_model - 2 * margin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue