From 3e84cc6b258c51f6b5755b1fc16cc2c04a2ddddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Mon, 22 May 2023 10:33:38 +0200 Subject: [PATCH] Fixed normalizer variable typo in README example [no ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 74af142..a8653b4 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ T = transforms.Compose([ transforms.Lambda(lambda x: x*255) ]) -torch_normalizer = torchstain.normalizers.MacenkoNormalizer(backend='torch') -torch_normalizer.fit(T(target)) +normalizer = torchstain.normalizers.MacenkoNormalizer(backend='torch') +normalizer.fit(T(target)) t_to_transform = T(to_transform) norm, H, E = normalizer.normalize(I=t_to_transform, stains=True)