MiuLab/KB-InfoBot

Value Error and incompatibility in dtype

Opened this issue · 0 comments

I am getting the following error on running the code interact.py

ValueError: When compiling the inner function of scan the following error has been encountered: The initial state (outputs_info in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 2) has dtype float32, while the result of the inner function (fn) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.

I am even putting THEANO_FLAGS= 'device=cpu, floatX=float32' before running the python file. Still the error persists.