Skip to content

Commit

Permalink
don't save nmslib indices to disk
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Apr 29, 2016
1 parent 1c8a4dd commit ad6c3c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ann_benchmarks/__init__.py
Expand Up @@ -260,10 +260,8 @@ def fit(self, X):
print "Loading index from file"
nmslib_vector.loadIndex(self._index, self._index_name)
else:

nmslib_vector.createIndex(self._index, self._index_param)
nmslib_vector.saveIndex(self._index, self._index_name)

# nmslib_vector.saveIndex(self._index, self._index_name)

nmslib_vector.setQueryTimeParams(self._index, self._query_param)

Expand Down

0 comments on commit ad6c3c4

Please sign in to comment.