Closed PhilippKaniuth closed 2 years ago
In a clean env with a fresh thingsvision
install (v2.2.8) I tested:
model_name = 'OpenCLIP'
module_name = 'visual'
open_parameters = [{'variant': 'ViT-B-32', 'dataset': 'openai'},
{'variant': 'ViT-L-14', 'dataset': 'laion2b_s32b_b82k'},
{'variant': 'ViT-L-14', 'dataset': 'laion400m_e32'},
{'variant': 'ViT-L-14', 'dataset': 'openai'},
{'variant': 'ViT-g-14', 'dataset': 'laion2b_s12b_b42k'},
{'variant': 'RN50x64', 'dataset': 'openai'}]
model_name = 'clip'
module_name = 'visual'
open_parameters = [{'variant': 'ViT-B/32'},
{'variant': 'RN50'}]
and all works like a charm. This issue seems therefore resolved.
Executing this:
throws:
@andropar you hypothesized it might be that the flattening function wasn't adjusted accordingly.