MCPcopy Create free account
hub / github.com/Monalissaa/DisenDiff / __init__

Method __init__

utils/clip_eval.py:109–110  ·  view source on GitHub ↗
(self, device, clip_model='ViT-B/32')

Source from the content-addressed store, hash-verified

107import re
108class ImageDirEvaluator(CLIPEvaluator):
109 def __init__(self, device, clip_model='ViT-B/32') -> None:
110 super().__init__(device, clip_model)
111
112 def evaluate(self, gen_samples, src_images, target_text):
113

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected