Romain Beaumont
Romain Beaumont
I mean this > ValueError: Expect x to be a non-empty array or dataset. when you compute embeddings the following is most likely a consequence of that first error
ah right I get it. Can you try with num_shards=1 and batch_size=1 ?
https://www.tensorflow.org/js/tutorials/conversion/import_keras
``` from efficientnet.tfkeras import EfficientNetB0 model = EfficientNetB0(weights="imagenet", include_top=False, pooling="avg") import tensorflowjs as tfjs tfjs.converters.save_keras_model(model, "model_tfjs/") ```
faiss indices have a add method
The error is saying that the data you give to the predict function is wrong in some way. Can you try to print the value of the images before they...
oh I see this repo https://github.com/mlfoundations/open_clip#yfcc-and-other-datasets has support it might be another example
https://github.com/Zasder3/train-CLIP#training-with-our-datamodule- any folder name should work, the file names should be the same
No, any subfolder
Yes On Thu, Sep 9, 2021, 18:09 Tarun Narayanan ***@***.***> wrote: > Does this work > data/images/p1.jpg > and > data/text/p1.txt > > — > You are receiving this because...