MCPcopy Create free account
hub / github.com/openai/point-e / __init__

Method __init__

point_e/models/pretrained_clip.py:220–223  ·  view source on GitHub ↗
(self, device: torch.device, **kwargs)

Source from the content-addressed store, hash-verified

218
219class FrozenImageCLIP:
220 def __init__(self, device: torch.device, **kwargs):
221 self.model = ImageCLIP(device, dtype=None, ensure_used_params=False, **kwargs)
222 for parameter in self.model.parameters():
223 parameter.requires_grad_(False)
224
225 @property
226 def feature_dim(self) -> int:

Callers

nothing calls this directly

Calls 1

ImageCLIPClass · 0.85

Tested by

no test coverage detected