Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected output in installation from github #943

Closed
PoorvaGarg opened this issue May 6, 2022 · 3 comments
Closed

Unexpected output in installation from github #943

PoorvaGarg opened this issue May 6, 2022 · 3 comments

Comments

@PoorvaGarg
Copy link

I have installed webppl from github and it does not give the expected output. It gives output as a dist as follows:

Enumerate can only be used with distributions that have finite support...quit enumerate
Using "rejection"
dist {
  params: {
    samples: [
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object], [Object], [Object],
      [Object], [Object], [Object], [Object],
      ... 900 more items
    ],
    numSamples: 1000
  },
  samples: [
    { value: 0 }, { value: 1 }, { value: 1 }, { value: 1 }, { value: 0 },
    { value: 0 }, { value: 1 }, { value: 0 }, { value: 1 }, { value: 0 },
    { value: 0 }, { value: 0 }, { value: 1 }, { value: 1 }, { value: 1 },
    { value: 1 }, { value: 1 }, { value: 1 }, { value: 1 }, { value: 1 },
    { value: 0 }, { value: 1 }, { value: 1 }, { value: 1 }, { value: 1 },
    { value: 1 }, { value: 1 }, { value: 1 }, { value: 1 }, { value: 1 },
    { value: 1 }, { value: 1 }, { value: 1 }, { value: 0 }, { value: 1 },
    { value: 1 }, { value: 0 }, { value: 0 }, { value: 1 }, { value: 0 },
    { value: 0 }, { value: 1 }, { value: 0 }, { value: 1 }, { value: 0 },
    { value: 0 }, { value: 0 }, { value: 1 }, { value: 0 }, { value: 0 },
    { value: 0 }, { value: 0 }, { value: 1 }, { value: 0 }, { value: 1 },
    { value: 1 }, { value: 0 }, { value: 0 }, { value: 0 }, { value: 0 },
    { value: 0 }, { value: 0 }, { value: 0 }, { value: 1 }, { value: 0 },
    { value: 0 }, { value: 0 }, { value: 1 }, { value: 1 }, { value: 1 },
    { value: 1 }, { value: 1 }, { value: 1 }, { value: 1 }, { value: 1 },
    { value: 0 }, { value: 0 }, { value: 0 }, { value: 1 }, { value: 1 },
    { value: 1 }, { value: 0 }, { value: 1 }, { value: 0 }, { value: 0 },
    { value: 0 }, { value: 0 }, { value: 0 }, { value: 1 }, { value: 1 },
    { value: 1 }, { value: 1 }, { value: 0 }, { value: 0 }, { value: 0 },
    { value: 1 }, { value: 0 }, { value: 1 }, { value: 1 }, { value: 0 },
    ... 900 more items
  ],
  getDist: [Function (anonymous)]
}
@ngoodman
Copy link
Contributor

ngoodman commented May 6, 2022

please provide enough info to replicate. eg. what program are you running and how?

@null-a
Copy link
Member

null-a commented May 7, 2022

Could be an instance of #933.

@PoorvaGarg
Copy link
Author

It is indeed an instance of that. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants