Skip to content

Value Error and incompatibility in dtype #4

@gaurav5590

Description

@gaurav5590

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions