Replies: 1 comment
-
|
Sorry for the late reply. I understand the confusion. There are two separate The training framework is a bit rough around the edges at the moment.... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on training vit model throught tfimm with modified config.
Here is what I do to
cifar10.pyexample,model=ModelConfig(...)is replaced with cfg returned fromvit_base_patch16_224,others are keep no changed. see source file cifat10.py#L29But in this way, an error raises with
to_cls_formatwhere flatViTConfigneeds to be constructed back from dict, which saysSince the
cfg_serializabledecorator only makesModelFactorywork for<class 'tfimm.train.model.ModelConfig'>, cfgs below can not be changed back toViTConfig('name'='vit_base_patch16_224', ...).Maybe I take it all in the wrong way! :(
It would be appreciate if you can give a tutorial on how to train vit model, thanks alot.
Beta Was this translation helpful? Give feedback.
All reactions