Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ inference_clip.py
File
inference_clip.py
SwissArmyTransformer/examples/clip/inference_clip.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
os
2
import
argparse
3
from
sat.model.official.clip_model
import
CLIP, ImageEncoder
4
from
sat
import
get_args
Callers
nothing calls this directly
Calls
6
get_args
Function · 0.90
get
Method · 0.80
to
Method · 0.80
print
Function · 0.50
add_model_specific_args
Method · 0.45
from_pretrained
Method · 0.45
Tested by
no test coverage detected