revised autokem model

This commit is contained in:
minjaesong
2026-03-09 23:54:51 +09:00
parent 268610a8b3
commit 71370a82a7

View File

@@ -398,7 +398,7 @@ def _shift_image(img, dx, dy):
def _augment_one(img, label, rng):
"""One augmented copy: random 1px shift + 1% pixel dropout."""
dx = rng.integers(-1, 2) # -1, 0, or 1
dy = 0
dy = rng.integers(-1, 2) # -1, 0, or 1
aug = _shift_image(img, dx, dy)
# mask = rng.random(aug.shape) > 0.01
# aug = aug * mask