You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's the TF Saved Model that I'm trying to convert. When running the model with tfjs I get this error:
Describe the expected behavior
If it's due to float16 not being supported, then I'd have expected tensorflowjs_converter to either automatically convert the float16 values to float32 like it seems to do with other unsupported datatypes, or throw an error telling me that this model cannot be converted into a tfjs model.
Download the tfjs model files from this Google Drive link (or generate them using the above-linked Saved Model + the tensorflowjs_converter command). Ensure the folder is named clip-text-vit-32-tfjs.
Put the tfjs model folder in the same directory as the HTML file and run a static file server (e.g. deno run --allow-net --allow-read=. https://raw.githubusercontent.com/josephrocca/denoSimpleStatic/master/main.ts --port=3001)
The text was updated successfully, but these errors were encountered:
System information
Describe the current behavior
I'm trying to port OpenAI's CLIP model to tfjs, and I've used the following conversion command:
Here's the TF Saved Model that I'm trying to convert. When running the model with tfjs I get this error:
Describe the expected behavior
If it's due to float16 not being supported, then I'd have expected
tensorflowjs_converter
to either automatically convert the float16 values to float32 like it seems to do with other unsupported datatypes, or throw an error telling me that this model cannot be converted into a tfjs model.Standalone code to reproduce the issue
tensorflowjs_converter
command). Ensure the folder is namedclip-text-vit-32-tfjs
.deno run --allow-net --allow-read=. https://raw.githubusercontent.com/josephrocca/denoSimpleStatic/master/main.ts --port=3001
)The text was updated successfully, but these errors were encountered: