From 9e1e8243855f646fdbda0fa64e3decb2c10c57df Mon Sep 17 00:00:00 2001 From: Jason Chou Date: Mon, 9 Oct 2023 11:33:56 -0700 Subject: [PATCH] Update README.md (#283) `patch_size` is size of patches, not number of patches --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1bc258e..965bdcb 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ preds = v(img) # (1, 1000) - `image_size`: int. Image size. If you have rectangular images, make sure your image size is the maximum of the width and height - `patch_size`: int. -Number of patches. `image_size` must be divisible by `patch_size`. +Size of patches. `image_size` must be divisible by `patch_size`. The number of patches is: ` n = (image_size // patch_size) ** 2` and `n` **must be greater than 16**. - `num_classes`: int. Number of classes to classify.