Open 2catycm opened 2 months ago
Now I got some idea, SSF's logics are in model folder, and timm will pass additional args into the model init method. But I am still confused why timm would call the manually written model code instead of the timm's model code.
I had the same question. I think that it is because the @register_model decorator in models/vision_transformer.py. Refer to https://blog.csdn.net/weixin_47994925/article/details/129745845 and https://zhuanlan.zhihu.com/p/616239771.
In train.py the argument
is later passed to
create_model
methodand else where I cannot see the usage of this variable
args.tuning_mode
. However, create_model is from timmDid you implement SSF's logics in timm lib?