update project structure and improve scripts
This commit is contained in:
@@ -18,7 +18,7 @@ class ImageSimilarity:
|
||||
# Combine and prepare data
|
||||
self._prepare_image_data()
|
||||
|
||||
# Try to load precomputed embeddings, otherwise compute them
|
||||
# Try to load precomputed embeddings, otherwise compute
|
||||
self.embeddings_file = 'data/image_embeddings_200.pkl'
|
||||
if os.path.exists(self.embeddings_file):
|
||||
self._load_embeddings()
|
||||
|
||||
Reference in New Issue
Block a user