Arturus / kaggle-web-traffic

1st place solution
MIT License
1.82k stars 667 forks source link

CPU version error #28

Open jqjjcp opened 5 years ago

jqjjcp commented 5 years ago

Dear Arturus: I just use tf.nn.dynamic_rnn+GRUCell to place cudnn but come cross that error: "Input tensor 'rnn/while/Exit_3:0' enters the loop with shape (283, 128), but has shape (?, 128) after one iteration. To allow the shape to vary across iterations, use the shape_invariants argument of tf.whileloop to specify a less-specific shape." when my code run the loop", , , targets_ta, outputs_ta = tf.while_loop(cond_fn, loop_fn, loop_init)" How can i solve it?