JaywongWang / SST-Tensorflow

Tensorflow Implementation of the Paper "SST: Single-Stream Temporal Action Proposals" in CVPR 2017.
49 stars 12 forks source link

Fix errors by wrong MultiRNNCell construction syntax. #4

Closed wizyoung closed 6 years ago

wizyoung commented 6 years ago

Correct the mistakes caused by [lstm]*2 style-like MultiRNNCell construction syntax. The corresponding error is "ValueError: Dimensions must be equal...". Low TensorFlow version (like 1.0) might ignore this and run without errors. But with higher version, this syntax fails. [lstm]*2 syntax just creates two exactly same lstm instances which is actually wrong. More detail can be found in the discussion here: https://github.com/tensorflow/tensorflow/issues/14897