personality-detection icon indicating copy to clipboard operation
personality-detection copied to clipboard

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).

Open GSC-30212 opened this issue 5 years ago • 2 comments

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

GSC-30212 avatar Oct 04 '19 18:10 GSC-30212

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

amirmohammadkz avatar Oct 24 '19 20:10 amirmohammadkz

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

Huanyongji avatar Apr 19 '22 02:04 Huanyongji