-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Is your feature request related to a problem? Please describe.
I hope to use create_model to create a model, such as the vit_tiny_224 model, to be able to use other sizes of image input without error.
Describe the solution you'd like
use like create_model('vit_tiny_224',img_size=args.img_size)
Describe alternatives you've considered
Through such a modification, the image size of the input model can be changed in the model determined using the specified input image size, so that the created vit_tiny_224 can be a model suitable for an image size of 448
Additional context
I think this avoids the confusion of the model input size with the model name, making the input size of the model a separate parameter to create the model, thus making it possible to get the initial model for each image size