bendeguzszabo commited on
Commit
6d2b087
·
1 Parent(s): 39c5d48

Update src/app.py

Browse files
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -24,7 +24,7 @@ def index_dataset(dataset):
24
  dataset_with_embeddings = dataset_with_embeddings.map(clip_model.encode_images, batched=True, batch_size=16)
25
 
26
  ## LBP Embeddings
27
- lbp_model = LBPImageEncoder()
28
  dataset_with_embeddings = dataset_with_embeddings.map(lambda row: {'lbp_embeddings': lbp_model.preprocess_img(row["image"])})
29
 
30
  # Add index
 
24
  dataset_with_embeddings = dataset_with_embeddings.map(clip_model.encode_images, batched=True, batch_size=16)
25
 
26
  ## LBP Embeddings
27
+ lbp_model = LBPImageEncoder(8,2)
28
  dataset_with_embeddings = dataset_with_embeddings.map(lambda row: {'lbp_embeddings': lbp_model.preprocess_img(row["image"])})
29
 
30
  # Add index