We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7f204b commit 44426b1Copy full SHA for 44426b1
1 file changed
infer-web.py
@@ -889,8 +889,8 @@ def train_index(exp_dir1, version19):
889
big_npy_idx = np.arange(big_npy.shape[0])
890
np.random.shuffle(big_npy_idx)
891
big_npy = big_npy[big_npy_idx]
892
- # if(big_npy.shape[0]>2e5):
893
- if(1):
+ if(big_npy.shape[0]>2e5):
+ # if(1):
894
infos.append("Trying doing kmeans %s shape to 10k centers."%big_npy.shape[0])
895
yield "\n".join(infos)
896
try:
@@ -1143,8 +1143,8 @@ def get_info_str(strr):
1143
1144
1145
1146
1147
1148
info="Trying doing kmeans %s shape to 10k centers."%big_npy.shape[0]
1149
print(info)
1150
yield get_info_str(info)
0 commit comments