Closed YueLiu1415926 closed 4 years ago
I changed the base image to jinaai/jina:devel and run docker build -t jinaai/hub.executors.indexers.vector.faiss ., the test fails showing:
docker build -t jinaai/hub.executors.indexers.vector.faiss .
______________________________ test_faiss_indexer ______________________________ > ??? /Users/edz/Desktop/work/github/jina-hub/indexers/vector/FaissIndexer/tests/test_faissindexer.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <workspace.FaissIndexer object at 0x7fd6ae0b3410> keys = array([[0.06676801, 0.23812774, 0.21123615, 0.32979733, 0.922037 , 0.96156627, 0.30798936, 0.4279964 , 0.1503...454, 0.95129275, 0.2752524 , 0.46963963, 0.66322994, 0.04707078, 0.9035691 , 0.59420425]], dtype=float32) top_k = 4, args = (), kwargs = {} def query(self, keys: 'np.ndarray', top_k: int, *args, **kwargs) -> Tuple['np.ndarray', 'np.ndarray']: > dist, ids = self.query_handler.search(keys, top_k) E AttributeError: 'NoneType' object has no attribute 'search' __init__.py:78: AttributeError
┆Issue is synchronized with this Jira Task by Unito
the test seems to pass in #199
I changed the base image to jinaai/jina:devel and run
docker build -t jinaai/hub.executors.indexers.vector.faiss .
, the test fails showing:┆Issue is synchronized with this Jira Task by Unito