{"action":"closed","issue":{"url":"https://api.github.com/repos/facebookresearch/fastText/issues/196","repository_url":"https://api.github.com/repos/facebookresearch/fastText","labels_url":"https://api.github.com/repos/facebookresearch/fastText/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/facebookresearch/fastText/issues/196/comments","events_url":"https://api.github.com/repos/facebookresearch/fastText/issues/196/events","html_url":"https://github.com/facebookresearch/fastText/issues/196","id":226006487,"number":196,"title":"Quantize error","user":{"login":"spate141","id":10580847,"avatar_url":"https://avatars1.githubusercontent.com/u/10580847?v=3","gravatar_id":"","url":"https://api.github.com/users/spate141","html_url":"https://github.com/spate141","followers_url":"https://api.github.com/users/spate141/followers","following_url":"https://api.github.com/users/spate141/following{/other_user}","gists_url":"https://api.github.com/users/spate141/gists{/gist_id}","starred_url":"https://api.github.com/users/spate141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spate141/subscriptions","organizations_url":"https://api.github.com/users/spate141/orgs","repos_url":"https://api.github.com/users/spate141/repos","events_url":"https://api.github.com/users/spate141/events{/privacy}","received_events_url":"https://api.github.com/users/spate141/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-05-03T14:32:02Z","updated_at":"2017-05-03T22:02:17Z","closed_at":"2017-05-03T22:02:17Z","body":"I already have trained model_1.bin with supervised option, and when I am trying to quantize that model, I am getting following error!\r\n\r\n```\r\n/opt/fastText/fasttext quantize -input data.txt -output models/model_1 -verbose 3 -wordNgrams 3 -bucket 1000000 -minn 3 -maxn 6 -lr 0.010 -dim 100 -loss ns -thread 8 -epoch 10 -qnorm -retrain -cutoff 100000\r\n```\r\n```\r\nfasttext: src/vector.cc:71: void fasttext::Vector::addRow(const fasttext::Matrix&, int64_t): Assertion `i < A.m_' failed.\r\nAborted (core dumped)\r\n```\r\n\r\n\r\nEdit: If I dont use `-cutoff`  then I can run this without any error!  "}}
{"actor":{"display_login":"spate141"}}