Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ transform_param.py
File
transform_param.py
SwissArmyTransformer/examples/clip/transform_param.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Given a config file, transform a pretrained MAE model.
3
""
"
4
import
os
Callers
nothing calls this directly
Calls
8
CLIP
Class · 0.90
get
Method · 0.80
to
Method · 0.80
save
Method · 0.80
transform_both_weight
Function · 0.70
print
Function · 0.50
max
Method · 0.45
state_dict
Method · 0.45
Tested by
no test coverage detected