How to input custom image size data, such as 64×64, when training my own dataset using the Swin-TransformerV2?

Author: TismerCreated Dec 25, 2024Updated Mar 11, 2025

When I use Swin-TransformerV2 to train my own dataset, the resolution of each image is 64×64 after data processing. However, it seems that I can't directly input them into the model as following error: Image What should I do to ensure I can continue training? Could you please provide some suggestions?

Source: microsoft/Swin-Transformer