tensorflowbook
tensorflowbook copied to clipboard
Error In Chapter6's Speech Recognition Example
hi, I met up with an error : ValueError: Trying to share variable stack_bidirectional_rnn/cell_0/bidirectional_rnn/fw/lstm_cell/kernel, but specified shape (120, 160) and found shape (53, 160) when I ran the example in Chapter 6. My tf version is 1.3.0.
我在tensorflow1.0版本和1.3版本跑都没有问题。 你是不是自己改了什么地方, 代码中也没有什么地方有shape是53的数据啊。
I met with exactly the same problem after changing num_layers to 2. After switching back to 1 everything works perfectly. But I haven't figured out why there will be a bug yet.