Open stonewjf opened 1 year ago
My config file for vit_small. Adjust the patch size according to the image dimensions:
data: batch_size: 128 color_jitter_strength: 0.0 crop_scale:
when I change the crop_size, an error occurs about masks, can you share your mask code?
I did not make any changes to the mask code, just adjusted the patch size according to the crop size (which is equal to the img size in my case). You can see this file (scroll down to the bottom): "src/models/vision_transformer.py", to get a better idea of adjustments.
can you tell me vit-small and vit-base training configuration