You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am having problems when I try to modify the image size, tried it but had several issues in the forward function of the model, have you tried different sizes before ?
and if so what arguments should I change other than --imsize
The text was updated successfully, but these errors were encountered:
@pyzone49
Hi, for a model that uses CLIP and needs to change its image size, you may encounter numerous issues and require modifications in multiple places. In CLIP-VG, I have incorporated the capability to adapt to different image sizes during image transformations. However, since the CLIP model itself supports an image token length of 197, changing the image size necessitates re-initializing or interpolating upsampling for position embeddings. I provide the implementation of position embedding interpolating upsampling of CLIP for your, , you can refer to it. Furthermore, my latest work implements this feature (HiVG, https://github.com/linhuixiao/HiVG); however, the code is not fully open-sourced yet. So, please watching if you are interested.
Hello, I am having problems when I try to modify the image size, tried it but had several issues in the forward function of the model, have you tried different sizes before ?
and if so what arguments should I change other than --imsize
The text was updated successfully, but these errors were encountered: