-
Notifications
You must be signed in to change notification settings - Fork 50
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
Comments
Got GenViz installed, but not the @addr problem |
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 |
Alex, pretty good so far. Your examples actually work so far. But In the Tutorial: Data-Driven Proposals in Gen
“1: Recap on the generative model of an autonomous agent
We begin by loading the source files for the generative model of an autonomous agent that was introduced in a previous tutorial:
In [ ]:
include("../inverse-planning/geometric_primitives.jl");
include("../inverse-planning/scene.jl");
include("../inverse-planning/planning.jl");
“
Where is this tutorial?
Where are these files?
Also, in going through this what happened to:"One motivation of this work is to make automated AI more accessible to people with less expertise in computer science or math," says lead author of the paper<http://news.mit.edu/2019/ai-programming-gen-0626>, Marco Cusumano-Towner, a PhD student in the Department of Electrical Engineering and Computer Science.”
You must mean less than you guys, but way, way more math than me, like only one PhD in math. I can’t get past 2 lines without having to look something up.
If this is for the common programmer, you’re going to have to get the math more simple. I saw Marco’s video. I got no idea what he’s talking about. I know you guys tend to want to do everything in terms of math, I can see all of the built in math terms in Julia, unlike most languages. But if you really want real life daily programmers to use this and create new stuff, you’ve got to lighten up on the math. Especially in explaining your programs.
From: Alex Lew <[email protected]>
Sent: Tuesday, July 2, 2019 3:46 PM
To: probcomp/gen-quickstart <[email protected]>
Cc: Mack Oates <[email protected]>; Author <[email protected]>
Subject: Re: [probcomp/gen-quickstart] Example.jl doesn't work (#17)
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 :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#17?email_source=notifications&email_token=AD3DRR5GUC6JZMIWLJCR3XDP5O47DA5CNFSM4H47S2M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZCP3SQ#issuecomment-507837898>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AD3DRR2LTHBLPJIPOJH6SWTP5O47DANCNFSM4H47S2MQ>.
|
I found the files |
Alex, you guys seem to not be using Flux. Is that right?
From: Alex Lew <[email protected]>
Sent: Tuesday, July 2, 2019 3:46 PM
To: probcomp/gen-quickstart <[email protected]>
Cc: Mack Oates <[email protected]>; Author <[email protected]>
Subject: Re: [probcomp/gen-quickstart] Example.jl doesn't work (#17)
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 :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#17?email_source=notifications&email_token=AD3DRR5GUC6JZMIWLJCR3XDP5O47DA5CNFSM4H47S2M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZCP3SQ#issuecomment-507837898>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AD3DRR2LTHBLPJIPOJH6SWTP5O47DANCNFSM4H47S2MQ>.
|
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 |
@mackyo Can we chat about GenViz ? |
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? |
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.
The text was updated successfully, but these errors were encountered: