Closed zhiqiangdon closed 5 months ago
Hi @zhiqiangdon,
When configs are saved out, only the parameters which are different from the default config values are saved. So in the case of config 1 - the image size is saved because it's 336, which is different from the default of 224, which config 2 uses.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
System Info
Python Version: 3.9.18
Operating System: Linux
Platform Machine: x86_64
Platform Version: #91~18.04.1-Ubuntu SMP Sun Aug 14 01:24:43 UTC 2022
Pytorch Version: 2.0.1+cu117
transformers version: 4.38.2
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
The details of config1 and config2 are quite different. For example, config2 doesn't have the image size information.
Config1:
Config2:
In transformers 4.31.0, clip base and clip large configs have more extensive information. In 4.38.2, the information becomes incomplete and inconsistent.