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

Example.jl doesn't work #17

Open
mackyo opened this issue Jul 2, 2019 · 8 comments
Open

Example.jl doesn't work #17

mackyo opened this issue Jul 2, 2019 · 8 comments

Comments

@mackyo
Copy link

mackyo commented Jul 2, 2019

Can't install GenViz, The @addr statement fails. Running Julia 1.1.1, Windows 10. in Atom. Says @addr not defined. Does this work in Linux only? Wanted to try Gen.

@mackyo
Copy link
Author

mackyo commented Jul 2, 2019

Got GenViz installed, but not the @addr problem

@alex-lew
Copy link
Contributor

alex-lew commented Jul 2, 2019

Hi there -- thanks for your interest! To get started with Gen, we recommend following the 'Gen Quick Start.ipynb' notebook, which contains links to other notebooks in their intended order.

The example directory still uses an old version of Gen, which is why it has its own Project.toml and Manifest.toml files. If you'd like to run it, you'll need to run JULIA_PROJECT=. julia example.jl, within the example directory. The syntax has since changed so that what used to be @addr is now called @trace, and what used to be called get_assmt is now called get_choices. Hope that helps :)

@mackyo
Copy link
Author

mackyo commented Jul 6, 2019 via email

@mackyo
Copy link
Author

mackyo commented Jul 6, 2019

I found the files

@mackyo
Copy link
Author

mackyo commented Jul 6, 2019 via email

@EdgarasLegus
Copy link

EdgarasLegus commented Feb 9, 2020

Hi, trying to compile example.jl and want to see at least some results in the browser, but nothing is shown. Screenshot attached - https://github.com/EdgarasLegus/gen2020/blob/master/viz.png

@EdgarasLegus
Copy link

@mackyo Can we chat about GenViz ?

@zhixuedu
Copy link

Hi, trying to compile example.jl and want to see at least some results in the browser, but nothing is shown. Screenshot attached - https://github.com/EdgarasLegus/gen2020/blob/master/viz.png

Same here. I saw nothing in the web browser's window, although the "slope" and "intercept" values are correctly printed in the end. Is it resolved?

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

4 participants