summaryrefslogtreecommitdiff
path: root/cli/app/commands/biggan
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-07 22:30:58 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-07 22:30:58 +0100
commit0ba235aca05004abd1f126cbab56dc9196629f15 (patch)
tree3d885fbd760aa17b3c63cf4de47ea76c7ac1fbcc /cli/app/commands/biggan
parent41311fbff3f16c2986f49d1520c3d6929bd643f1 (diff)
getting latent search updates working...
Diffstat (limited to 'cli/app/commands/biggan')
-rw-r--r--cli/app/commands/biggan/extract_dense_vectors.py2
-rw-r--r--cli/app/commands/biggan/search_class.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/cli/app/commands/biggan/extract_dense_vectors.py b/cli/app/commands/biggan/extract_dense_vectors.py
index fca66bd..9f7644e 100644
--- a/cli/app/commands/biggan/extract_dense_vectors.py
+++ b/cli/app/commands/biggan/extract_dense_vectors.py
@@ -1,7 +1,7 @@
import click
import os
-from app.utils.cortex_utils import download_cortex_files, find_unprocessed_files
+from app.utils.cortex_utils import cortex_folder, download_cortex_files, find_unprocessed_files
from app.search.search_class import find_nearest_vector_for_images
from app.search.search_dense import find_dense_embedding_for_images
from app.search.json import params_dense_dict
diff --git a/cli/app/commands/biggan/search_class.py b/cli/app/commands/biggan/search_class.py
index c2ff46f..4e3973b 100644
--- a/cli/app/commands/biggan/search_class.py
+++ b/cli/app/commands/biggan/search_class.py
@@ -2,6 +2,7 @@ import click
import os
import time
+from app.utils.cortex_utils import cortex_folder, download_cortex_files, find_unprocessed_files
@click.command('')
@click.option('-f', '--folder_id', 'opt_folder_id', type=int, default=0,