-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Lines 287 to 288 in 72feb0c
| x = x.reshape(shape=(x.shape[0], h, w, p, p, c)) | |
| x = torch.einsum("nhwpqc->nchpwq", x) |
Should this not be:
x = x.reshape(shape=(x.shape[0], h, w, c, p, p))
x = torch.einsum("nhwcpq->nchpwq", x)
I would expect unpatchify( patchify( image ) ) == image but as is that is not the case.
Metadata
Metadata
Assignees
Labels
No labels