Skip to content

jegork/vivit-weights-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vivit-weights-converter

Script to convert ViViT weights from Flax to Pytorch.

Use

Before use, please have torch and flax installed.

python convert_vivit_flax_to_pytorch.py --flax_model PATH_TO_FLAX_CHECKPOINT --output_model_name TORCH_MODEL_NAME

Add flag --classification_head to include classification head weights.

About

Script to convert ViViT weights from Flax to Pytorch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages