-
Notifications
You must be signed in to change notification settings - Fork 15
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
Sequence-based indexing in theano is deprecated #74
Comments
I think this problem was caused by a new version of NumPy and has been discussed here: |
Right, so the api is still supported by theano. I've confirmed that the issue is fixed in upstream by running the testsuite with a patched theano. Another case of "not our fault" then. |
For us, the commits 082yqypw8vddxly47p26l9sgda3z598i098dldp2d0k04vawlblx and 0y2g08arbcffgkd9w0aan1g2yn7n06ma8qwd8i2vvbj5z1n28xvq are interesting (not included in the PR you linked, but similar in intention). |
Out of our control. Fixes kiudee#74
Out of our control. Fixes #74 removed a bug due to newer version of keras
Out of our control. Fixes #74 removed a bug due to newer version of keras
Out of our control. Fixes #74 removed a bug due to newer version of keras
Out of our control. Fixes #74 removed a bug due to newer version of keras
In
csrank/discretechoice/nested_logit_model.py
we make use of sequence indexing in theano multiple times. For example:cs-ranking/csrank/discretechoice/nested_logit_model.py
Line 175 in ba03234
Here
rows
andcols
are both 1d tensors which are then used to index a different tensor:cs-ranking/csrank/discretechoice/nested_logit_model.py
Line 176 in ba03234
Theano complains that this is deprecated:
I'm not sure how to fix this. According to the documentation, theano should support boolean mask indexing. So I thought we should be able to do
instead (as
tt.eq
should return a boolean mask). But unfortunately that doesn't work; it gives the same warning.Any ideas?
The text was updated successfully, but these errors were encountered: