keras的后台问题。
因为模型要求是th后台,我觉得只要transpose不就好了,后来发现坑还挺大,不是那么容易。
出现了上面的错误,
x = BatchNormalization(axis=freq_axis, name='bn_0_freq')(melgram_input)
File "D:\python36\lib\site-packages\keras\engine\topology.py", line 569, in __call__
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "D:\python36\lib\site-packages\keras\engine\topology.py", line 632, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "D:\python36\lib\site-packages\keras\engine\topology.py", line 164, in create_node
output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
File &#