{"action":"closed","issue":{"url":"https://api.github.com/repos/facebookresearch/faiss/issues/406","repository_url":"https://api.github.com/repos/facebookresearch/faiss","labels_url":"https://api.github.com/repos/facebookresearch/faiss/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/facebookresearch/faiss/issues/406/comments","events_url":"https://api.github.com/repos/facebookresearch/faiss/issues/406/events","html_url":"https://github.com/facebookresearch/faiss/issues/406","id":313589988,"number":406,"title":"Got an error when test","user":{"login":"XiaXuehai","id":11585321,"avatar_url":"https://avatars1.githubusercontent.com/u/11585321?v=4","gravatar_id":"","url":"https://api.github.com/users/XiaXuehai","html_url":"https://github.com/XiaXuehai","followers_url":"https://api.github.com/users/XiaXuehai/followers","following_url":"https://api.github.com/users/XiaXuehai/following{/other_user}","gists_url":"https://api.github.com/users/XiaXuehai/gists{/gist_id}","starred_url":"https://api.github.com/users/XiaXuehai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XiaXuehai/subscriptions","organizations_url":"https://api.github.com/users/XiaXuehai/orgs","repos_url":"https://api.github.com/users/XiaXuehai/repos","events_url":"https://api.github.com/users/XiaXuehai/events{/privacy}","received_events_url":"https://api.github.com/users/XiaXuehai/received_events","type":"User","site_admin":false},"labels":[{"id":534246314,"url":"https://api.github.com/repos/facebookresearch/faiss/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-12T06:14:51Z","updated_at":"2018-04-12T10:05:54Z","closed_at":"2018-04-12T10:05:54Z","author_association":"NONE","body":"# Platform\r\n\r\nOS: Red Hat 4.8.5-16\r\n\r\nFaiss version: 2.1\r\n Faiss compilation options: using Openblas with compile flags\r\n\r\nRunning on :\r\n- [x] CPU\r\n\r\n\r\n# Reproduction instructions\r\n\r\nI can import faiss successfully.But I cannot run this\r\n\r\n```\r\n[root@ai-algorithm home]# python -c \"import faiss, numpy\r\nfaiss.Kmeans(10, 20).train(numpy.random.rand(1000, 10).astype('float32'))\"\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 2, in <module>\r\nAttributeError: module 'faiss' has no attribute 'Kmeans'\r\n```\r\n\r\n\r\nBut when I run the commend line in the ./faiss/ file  is ok."}}
{"actor":{"display_login":"beauby"}}