Questions tagged [scann]

5 questions
0
votes
1 answer

Having an error when installing Scann on Google Colab

I installed scann on colab with code !pip uninstall protobuf>=3.20.3 but I had a error like that: "ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the…
0
votes
1 answer

not matching distribution for scann

I´m stuck for several days was trying to install tflite-model-maker. Now my mostrcent showstopper is I cannot install scaNN via pip, (nor conda). I tried under enviroments with python 3.10, 3.19, 3.8, all in windows 10. I read that scann is a linux…
0
votes
1 answer

Tensorflow Recommender - ScaNN passing embedding as query

I want to pass a query embedding to ScaNN instead of a model, what data type should I use for this? My query would look like this [1, 0.3, 0.4] My candidate embedding would be something like: [[0.2, 1, .4], [0.3,0.1,0.56]] All the examples I see are…
uhXAj1
  • 1
  • 1
0
votes
0 answers

Is there a way to add preprocessing functions into a ScaNN model?

I have a ScaNN object and I am capable of loading data and building it. I can also save the model and extract it to my python environment, but I need to give a tf.Tensor variable as the input. If I want to call my model through RestAPI, I need to…
0
votes
0 answers

ScaNN weight features for similary search

I am using ScaNN to perform similarity searches and would like to place more emphasis on some features than others when performing a similarity search. for example, if I have the following data name | age | country | income John 29 US …
noobie
  • 2,427
  • 5
  • 41
  • 66