Theano / Theano

Theano was a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It is being continued as PyTensor: www.github.com/pymc-devs/pytensor

Home Page:https://www.github.com/pymc-devs/pytensor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: GpuElemwise.Input dimension mis-match.

lidaiqiang-vsg opened this issue · comments

ValueError: GpuElemwise. Input dimension mis-match. Input 1 (indices start at 0) has shape[3] == 64, but the output's size on that axis is 160.
Apply node that caused the error: GpuElemwise{mul,no_inplace}(GpuElemwise{sub,no_inplace}.0, GpuElemwise{true_div,no_inplace}.0)
Toposort index: 1325
Inputs types: [CudaNdarrayType(float32, 4D), CudaNdarrayType(float32, (True, False, True, False))]
Inputs shapes: [(64, 64, 120, 160), (1, 64, 1, 64)]
Inputs strides: [(1228800, 19200, 160, 1), (0, 64, 0, 1)]
Inputs values: ['not shown', 'not shown']
Inputs type_num: ['', '']
Outputs clients: [[GpuElemwise{add,no_inplace}(GpuElemwise{mul,no_inplace}.0, GpuDimShuffle{x,x,x,0}.0)]]