-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
DisconnectedType Error when computing gradient of stacklists #379
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
Comments
Looks indeed very similar to #336 and Theano/Theano#1534. I suppose hierarchical.py runs fine for you then? Maybe ask the Theano guys if @jsalvatier doesn't know? |
Yes, hierarchical.py, runs without a hitch. |
I think this may be related to taking derivatives of stacklist:
I think asking the theano list is a good idea. I will try to dig into this a bit. |
I finally got an actual reproduction:
|
@jangevaa Can you try if the model works for you now with most recent theano? |
@twiecki Works great! NUTS seems to be having some problems though (no errors triggered). Take a look at these traceplots for the different step methods. And here's the code...
|
I will close this and open up another issue though, I feel they're unrelated. |
Hello. I have a model here that will run fine with MH sampling but encounters errors with NUTS and standard HMC sampling methods. This example is probably unique in its use of
theano.tensor.stacklists
, which may somehow relate to the error. My use of a constant inex_tau
may also be of relevance.Here's the model:
Thank you for taking a look at this! This error seems similar to the one dealt with #336, but I am definitely using the latest versions of Theano (and pymc). Here are the full details of the error when using NUTS:
(edited since I accidentally included the error twice)
The text was updated successfully, but these errors were encountered: