openai-clip-js icon indicating copy to clipboard operation
openai-clip-js copied to clipboard

OpenAI's CLIP model ported to JavaScript using the ONNX web runtime

Results 2 openai-clip-js issues
Sort by recently updated
recently updated
newest added

First off, thank you so much for the functions! I am currently trying to embed texts using the nodejs example but the variable textTokenizer is not instantiated anywhere else. How...

error when loading `torch.onnx.export(model, text_tokens, "clip-text-vit-32.onnx", export_params=True, opset_version=12, do_constant_folding=True, input_names = ['input'], output_names = ['output'], dynamic_axes={'input' : {0 : 'batch_size'}, 'output' : {0 : 'batch_size'}})` outputs ``` ============= Diagnostic Run...