{"action":"created","issue":{"url":"https://api.github.com/repos/facebookresearch/InferSent/issues/76","repository_url":"https://api.github.com/repos/facebookresearch/InferSent","labels_url":"https://api.github.com/repos/facebookresearch/InferSent/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/facebookresearch/InferSent/issues/76/comments","events_url":"https://api.github.com/repos/facebookresearch/InferSent/issues/76/events","html_url":"https://github.com/facebookresearch/InferSent/issues/76","id":349385068,"node_id":"MDU6SXNzdWUzNDkzODUwNjg=","number":76,"title":"InferSent Library Installing Issue","user":{"login":"MFarhatUllah","id":41517414,"node_id":"MDQ6VXNlcjQxNTE3NDE0","avatar_url":"https://avatars3.githubusercontent.com/u/41517414?v=4","gravatar_id":"","url":"https://api.github.com/users/MFarhatUllah","html_url":"https://github.com/MFarhatUllah","followers_url":"https://api.github.com/users/MFarhatUllah/followers","following_url":"https://api.github.com/users/MFarhatUllah/following{/other_user}","gists_url":"https://api.github.com/users/MFarhatUllah/gists{/gist_id}","starred_url":"https://api.github.com/users/MFarhatUllah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MFarhatUllah/subscriptions","organizations_url":"https://api.github.com/users/MFarhatUllah/orgs","repos_url":"https://api.github.com/users/MFarhatUllah/repos","events_url":"https://api.github.com/users/MFarhatUllah/events{/privacy}","received_events_url":"https://api.github.com/users/MFarhatUllah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-10T05:54:11Z","updated_at":"2018-08-10T08:05:32Z","closed_at":null,"author_association":"NONE","body":"i have python 3.6, pip 18.0 but when i run command \"pip install InferSent\" error comes out in \" Could not find a version that satisfies the requirement InferSent (from versions: )\r\nNo matching distribution found for InferSent\"\r\ni have separate environment named \"pytorchA\" and in have installed \"pytorch\" latest package through \r\n\"conda install pytorch torchvision -c pytorch\"\r\n"},"comment":{"url":"https://api.github.com/repos/facebookresearch/InferSent/issues/comments/412008701","html_url":"https://github.com/facebookresearch/InferSent/issues/76#issuecomment-412008701","issue_url":"https://api.github.com/repos/facebookresearch/InferSent/issues/76","id":412008701,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjAwODcwMQ==","user":{"login":"MFarhatUllah","id":41517414,"node_id":"MDQ6VXNlcjQxNTE3NDE0","avatar_url":"https://avatars3.githubusercontent.com/u/41517414?v=4","gravatar_id":"","url":"https://api.github.com/users/MFarhatUllah","html_url":"https://github.com/MFarhatUllah","followers_url":"https://api.github.com/users/MFarhatUllah/followers","following_url":"https://api.github.com/users/MFarhatUllah/following{/other_user}","gists_url":"https://api.github.com/users/MFarhatUllah/gists{/gist_id}","starred_url":"https://api.github.com/users/MFarhatUllah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MFarhatUllah/subscriptions","organizations_url":"https://api.github.com/users/MFarhatUllah/orgs","repos_url":"https://api.github.com/users/MFarhatUllah/repos","events_url":"https://api.github.com/users/MFarhatUllah/events{/privacy}","received_events_url":"https://api.github.com/users/MFarhatUllah/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T08:05:32Z","updated_at":"2018-08-10T08:05:32Z","author_association":"NONE","body":"Credit goes to Sir M. Sharjeel.\r\nits not a library. its a class written in model.py\r\ndownload clone from \"https://github.com/facebookresearch/InferSent\". copy its models.py file where your xyz.ipynb file is placed. then if we run the command \r\n\"\r\nfrom  models  import  InferSent\r\nMODEL_PATH =  '../new_models/infersent1.pkl'\r\nparams_model = {'bsize': 64, 'word_emb_dim': 300, 'enc_lstm_dim': 2048,\r\n                'pool_type': 'max', 'dpout_model': 0.0, 'version': 1}\r\nmodel = InferSent(params_model)\r\nmodel.load_state_dict(torch.load(MODEL_PATH))\r\n\"\r\nit is called from \"model.py\" as InferSent is the class of models.py\r\nerror resolved."}}
{"actor":{"display_login":"MFarhatUllah"}}