diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-14 16:39:47 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-14 16:39:47 +0100 |
| commit | b39b1d51db2d485e9c60fb4d3f5445474cef8700 (patch) | |
| tree | f2ad4d6c3a5b84b8eeb8689526951f2c204a3f65 /megapixels/commands | |
| parent | e1fba831b7c22f9840c5e92227f688079b9a206e (diff) | |
mysql import functions
Diffstat (limited to 'megapixels/commands')
| -rw-r--r-- | megapixels/commands/faiss/build_faiss.py (renamed from megapixels/commands/faiss/build.py) | 4 | ||||
| -rw-r--r-- | megapixels/commands/faiss/sync_metadata.py (renamed from megapixels/commands/faiss/sync.py) | 0 |
2 files changed, 0 insertions, 4 deletions
diff --git a/megapixels/commands/faiss/build.py b/megapixels/commands/faiss/build_faiss.py index e525542a..96d3f99e 100644 --- a/megapixels/commands/faiss/build.py +++ b/megapixels/commands/faiss/build_faiss.py @@ -35,10 +35,6 @@ def cli(ctx): build_faiss(name, load_recipe(recipe_fn)) else: build_faiss(name, DefaultRecipe()) - # index identities - # certain CSV files should be loaded into mysql - # User.__table__.drop() - SQLemployees.create(engine) def build_faiss(name, recipe): vec_fn = os.path.join(cfg.DIR_FAISS_METADATA, name, "vecs.csv") diff --git a/megapixels/commands/faiss/sync.py b/megapixels/commands/faiss/sync_metadata.py index b01211b4..b01211b4 100644 --- a/megapixels/commands/faiss/sync.py +++ b/megapixels/commands/faiss/sync_metadata.py |
