mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-02 23:51:53 +01:00
Update faiss_index_bq_dataset.py
This commit is contained in:
parent
ec83d01dca
commit
1b71e80bd1
@ -91,7 +91,7 @@ def parse_metric(config):
|
|||||||
elif metric_str == "linf":
|
elif metric_str == "linf":
|
||||||
return faiss.METRIC_Linf
|
return faiss.METRIC_Linf
|
||||||
else:
|
else:
|
||||||
raise Exception(f"Uknown metric: {metric_str}")
|
raise Exception(f"Unknown metric: {metric_str}")
|
||||||
|
|
||||||
|
|
||||||
def run_pipeline(argv=[]):
|
def run_pipeline(argv=[]):
|
||||||
|
Loading…
Reference in New Issue
Block a user