dmarx / Multi-Modal-Comparators

Unified API to facilitate usage of pre-trained "perceptor" models, a la CLIP
39 stars 4 forks source link

pytti expects models to report input image resolution #9

Closed dmarx closed 2 years ago

dmarx commented 2 years ago

how attribute is computed for openai models: https://github.com/openai/CLIP/blob/main/clip/model.py#L398-L411

where attribute is used in pytti: https://github.com/pytti-tools/pytti-core/blob/main/src/pytti/Perceptor/Embedder.py#L43