MCPcopy Create free account
hub / github.com/HealthX-Lab/MedCLIP-SAMv2 / __call__

Method __call__

saliency_maps/scripts/utils.py:62–63  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

60 self.model = model
61
62 def __call__(self, x):
63 return self.model.get_image_features(x)
64
65class TextFeatureExtractor(torch.nn.Module):
66 """ Text feature wrapper """

Callers

nothing calls this directly

Calls 1

get_image_featuresMethod · 0.45

Tested by

no test coverage detected