Skip to content

Commit 9e1e824

Browse files
authored
Update README.md (#283)
`patch_size` is size of patches, not number of patches
1 parent bbb24e3 commit 9e1e824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ preds = v(img) # (1, 1000)
9292
- `image_size`: int.
9393
Image size. If you have rectangular images, make sure your image size is the maximum of the width and height
9494
- `patch_size`: int.
95-
Number of patches. `image_size` must be divisible by `patch_size`.
95+
Size of patches. `image_size` must be divisible by `patch_size`.
9696
The number of patches is: ` n = (image_size // patch_size) ** 2` and `n` **must be greater than 16**.
9797
- `num_classes`: int.
9898
Number of classes to classify.

0 commit comments

Comments
 (0)