Closed hrlai closed 2 years ago
Hi @hrlai
Thanks for posting, and for trying out the TF2 branch!
Yes, you'll need to install the TF 2 dependencies again when you change to the TF2 branch, we will make the process hopefully friendly, and loudly help people when we get the TF2 code working.
Yes at the moment the branch, https://github.com/greta-dev/greta/pull/534, is still experimental. We were able to get MCMC to run, but it was very slow and had poor convergence. greta
was previously written around the graph-based structure of TF1, and now that TF2 uses eager evaluation, we need to change a lot of the internals of greta to support that, and also ensure that we appropriately construct the graphs so they don't get recreated each time. There's still a fair bit of work that we need to do, but I'll keep you posted as we get further along. For the time being I'll close this issue as we are tracking the TF2 progress over in https://github.com/greta-dev/greta/issues/306 and https://github.com/greta-dev/greta/issues/458
Hi I hope this is the right place to post about other dev branches (couldn't find an Issue page there).
Was going to experiment with the TF2 branch
njtierney:tf2-poke-tf-fun
. To update fromgreta
v0.4.2, I didbut
greta_sitrep
returns messages saying that the old TF1.x stuff are still loading in the environment (sorry I lost the messages now).So I ran
install_greta_deps()
, which then led togreta_sitrep
returningBut when I ran the examples, I got the following error:
By the way, I tried this out to see if it indirectly resolves the issue related to
initials()
here #440 . When I tried to sample from a model containinglkj_correlation()
arrays, it now returns a different kind of error: