You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should be outputs.append(output) or the shape doesn't match in tf.nn.sampled_softmax_loss.
Even when I solved this problem, the code still meets bugs in model.step. I found that prev in beam_attention_decoder was (batch_size, input_size), which was (32,32). But after the loop_function, it turned into shape (beam_size,input_size)(10,32). Thus the running failed.
Is this code really available?
The text was updated successfully, but these errors were encountered:
I'm using win10 system and python3.x tf0.12
It turns out in function
beam_attention_decoder
the sentenceshould be
outputs.append(output)
or the shape doesn't match intf.nn.sampled_softmax_loss
.Even when I solved this problem, the code still meets bugs in
model.step
. I found thatprev
inbeam_attention_decoder
was (batch_size, input_size), which was (32,32). But after theloop_function
, it turned into shape (beam_size,input_size)(10,32). Thus the running failed.Is this code really available?
The text was updated successfully, but these errors were encountered: