Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HealthX-Lab/MedCLIP-SAMv2
/ __call__
Method
__call__
saliency_maps/scripts/utils.py:71–72 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
69
self.model = model
70
71
def
__call__(self, x):
72
return
self.model.get_text_features(x)
73
74
def
image_transform(t, height=7, width=7):
75
""
" Transformation for CAM (image) "
""
Callers
nothing calls this directly
Calls
1
get_text_features
Method · 0.45
Tested by
no test coverage detected