Skip to content

Commit 68e951b

Browse files
add warning message related to known issue
1 parent 821d75a commit 68e951b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

icon_cluster_color_bovw_kmeans.py

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
"""Warning:
2+
3+
This process assumes that the output of create_bovw_features.py, create_color_features.py,
4+
and create_imagenet_features.py have been run without error. If this assumption fails, there
5+
will be an error in a np.hstack operation. This indicates that some images failed and this resulted
6+
in an uneven number of records between the feature output. A solution would be to use keys and join
7+
rather than assume same number of records and that records align.
8+
"""
19
import argparse
210

311
import numpy as np

search.py

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
"""Warning:
2+
3+
This process assumes that the output of create_bovw_features.py, create_color_features.py,
4+
and create_imagenet_features.py have been run without error. If this assumption fails, there
5+
will be an error in a np.hstack operation. This indicates that some images failed and this resulted
6+
in an uneven number of records between the feature output. A solution would be to use keys and join
7+
rather than assume same number of records and that records align.
8+
"""
9+
110
from __future__ import print_function
211
import argparse
312

0 commit comments

Comments
 (0)