Open llianxu opened 11 months ago
Thanks for your great work! I want to know that why the code below need to minus patch_size
# compute number of tokens taking stride into account w0 = 1 + (w - patch_size) // stride_hw[1] h0 = 1 + (h - patch_size) // stride_hw[0]
Thanks for your great work! I want to know that why the code below need to minus patch_size