SenticNet / personality-detection

Implementation of a hierarchical CNN based model to detect Big Five personality traits
http://sentic.net/deep-learning-based-personality-detection.pdf
MIT License
476 stars 169 forks source link

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 5 years ago

GSC-30212 commented 5 years ago

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 commented 4 years ago

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

Huanyongji commented 2 years ago

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