{"action":"created","issue":{"url":"https://api.github.com/repos/uber/pyro/issues/1698","repository_url":"https://api.github.com/repos/uber/pyro","labels_url":"https://api.github.com/repos/uber/pyro/issues/1698/labels{/name}","comments_url":"https://api.github.com/repos/uber/pyro/issues/1698/comments","events_url":"https://api.github.com/repos/uber/pyro/issues/1698/events","html_url":"https://github.com/uber/pyro/pull/1698","id":395740946,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMTIzNjE5","number":1698,"title":"Fix mcmc diagnostics method","user":{"login":"fehiepsi","id":4736342,"node_id":"MDQ6VXNlcjQ3MzYzNDI=","avatar_url":"https://avatars1.githubusercontent.com/u/4736342?v=4","gravatar_id":"","url":"https://api.github.com/users/fehiepsi","html_url":"https://github.com/fehiepsi","followers_url":"https://api.github.com/users/fehiepsi/followers","following_url":"https://api.github.com/users/fehiepsi/following{/other_user}","gists_url":"https://api.github.com/users/fehiepsi/gists{/gist_id}","starred_url":"https://api.github.com/users/fehiepsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehiepsi/subscriptions","organizations_url":"https://api.github.com/users/fehiepsi/orgs","repos_url":"https://api.github.com/users/fehiepsi/repos","events_url":"https://api.github.com/users/fehiepsi/events{/privacy}","received_events_url":"https://api.github.com/users/fehiepsi/received_events","type":"User","site_admin":false},"labels":[{"id":704807577,"node_id":"MDU6TGFiZWw3MDQ4MDc1Nzc=","url":"https://api.github.com/repos/uber/pyro/labels/WIP","name":"WIP","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-01-03T22:03:39Z","updated_at":"2019-01-04T03:49:08Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/uber/pyro/pulls/1698","html_url":"https://github.com/uber/pyro/pull/1698","diff_url":"https://github.com/uber/pyro/pull/1698.diff","patch_url":"https://github.com/uber/pyro/pull/1698.patch"},"body":"This fixes a regression of my last PR. In addition, I add a test to verify that this method works as expected."},"comment":{"url":"https://api.github.com/repos/uber/pyro/issues/comments/451347457","html_url":"https://github.com/uber/pyro/pull/1698#issuecomment-451347457","issue_url":"https://api.github.com/repos/uber/pyro/issues/1698","id":451347457,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTM0NzQ1Nw==","user":{"login":"fehiepsi","id":4736342,"node_id":"MDQ6VXNlcjQ3MzYzNDI=","avatar_url":"https://avatars1.githubusercontent.com/u/4736342?v=4","gravatar_id":"","url":"https://api.github.com/users/fehiepsi","html_url":"https://github.com/fehiepsi","followers_url":"https://api.github.com/users/fehiepsi/followers","following_url":"https://api.github.com/users/fehiepsi/following{/other_user}","gists_url":"https://api.github.com/users/fehiepsi/gists{/gist_id}","starred_url":"https://api.github.com/users/fehiepsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehiepsi/subscriptions","organizations_url":"https://api.github.com/users/fehiepsi/orgs","repos_url":"https://api.github.com/users/fehiepsi/repos","events_url":"https://api.github.com/users/fehiepsi/events{/privacy}","received_events_url":"https://api.github.com/users/fehiepsi/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T03:49:08Z","updated_at":"2019-01-04T03:49:08Z","author_association":"COLLABORATOR","body":"@neerajprad this is not relevant to the above issue: when I replace `x = pyro.param(...)` by `x = tensor(...)`, I get the error `local variable `val` referenced before assignment at [this line](https://github.com/uber/pyro/blob/dev/pyro/infer/mcmc/mcmc.py#L165). I guess that I have triggered [this line](https://github.com/uber/pyro/blob/dev/pyro/infer/mcmc/mcmc.py#L160)."}}
{"actor":{"display_login":"fehiepsi"}}