Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,8 +62,7 @@ ft_visual_features_file_bin = DATA_PATH + '/video_half_dataset_visual_features_b
|
|
62 |
|
63 |
#load database features:
|
64 |
ft_visual_features_database_bin = np.load(ft_visual_features_file_bin)
|
65 |
-
ft_visual_features_database = np.
|
66 |
-
shape=(ft_visual_features_database_bin.shape[0], ft_visual_features_database_bin.shape[1]*8))
|
67 |
|
68 |
|
69 |
database_csv_path = os.path.join(DATA_PATH, 'video_half_dataset.csv')
|
|
|
62 |
|
63 |
#load database features:
|
64 |
ft_visual_features_database_bin = np.load(ft_visual_features_file_bin)
|
65 |
+
ft_visual_features_database = np.load(ft_visual_features_file, mmap_mode='r')
|
|
|
66 |
|
67 |
|
68 |
database_csv_path = os.path.join(DATA_PATH, 'video_half_dataset.csv')
|