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

TypeError: Cannot convert Type TensorType(float64, matrix) (of Variable Subtensor{int64:int64:}.0) into Type TensorType(float32, matrix). You can try to manually convert Subtensor{int64:int64:}.0 into a TensorType(float32, matrix). #29

Open
GSC-30212 opened this issue Oct 4, 2019 · 2 comments

Comments

@GSC-30212
Copy link

I am running this code in python 3.7.3 getting the following error:-
TypeError: Cannot convert Type TensorType(float64, matrix) (of Variable Subtensor{int64:int64:}.0) into Type TensorType(float32, matrix). You can try to manually convert Subtensor{int64:int64:}.0 into a TensorType(float32, matrix).

I tried setting floatX=float64

The following is my .theano.txt

[global]
device = cpu
floatX = float64

[nvcc]
fastmath = True

@amirmohammadkz
Copy link

amirmohammadkz commented Oct 24, 2019

I have fixed this issue in a forked repository here: https://github.com/amirmohammadkz/personality-detection

@Huanyongji
Copy link

Hi,Thanks for your reply.Can you give me some instruction if i want to test my own dataset by using your project.Thanks!

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

3 participants