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
In the current main branch, which is timm 0.8.x, some models' name are not the same as their names in the url dictionary and their are also not remapped.
For example, in 'timm/models/swin_transformer_v2.py', the model name is 'swinv2_tiny_window16_256'. But in 'default_cfgs' dictionary (line 679), its name has become 'swinv2_tiny_window16_256.ms_in1k', as is shown in the following code.
The model also has not been remapped in the last few lines of the file 'timm/models/swin_transformer_v2.py'. The models that have been remapped are only a few models as follows.
So does it mean that if I create the model ''swinv2_tiny_window16_256.' in timm 0.8.x using the following code: timm.creat_model('swinv2_tiny_window16_256', pretrained = True), the library will not load any pretrained weights since the model's name have not been remapped to the new name 'swinv2_tiny_window16_256.ms_in1k' yet?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, sorry to bother you again.
In the current main branch, which is timm 0.8.x, some models' name are not the same as their names in the url dictionary and their are also not remapped.
For example, in 'timm/models/swin_transformer_v2.py', the model name is 'swinv2_tiny_window16_256'. But in 'default_cfgs' dictionary (line 679), its name has become 'swinv2_tiny_window16_256.ms_in1k', as is shown in the following code.
The model also has not been remapped in the last few lines of the file 'timm/models/swin_transformer_v2.py'. The models that have been remapped are only a few models as follows.
So does it mean that if I create the model ''swinv2_tiny_window16_256.' in timm 0.8.x using the following code:
timm.creat_model('swinv2_tiny_window16_256', pretrained = True)
, the library will not load any pretrained weights since the model's name have not been remapped to the new name 'swinv2_tiny_window16_256.ms_in1k' yet?Thank yo so much for your help.
Beta Was this translation helpful? Give feedback.
All reactions