MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / transform_param.py

File transform_param.py

SwissArmyTransformer/examples/vit/transform_param.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Given a config file, transform a pretrained ViTModel.
3"""
4import torch

Callers

nothing calls this directly

Calls 5

ViTModelClass · 0.90
save_checkpointFunction · 0.90
transform_weightFunction · 0.70
printFunction · 0.50
maxMethod · 0.45

Tested by

no test coverage detected