Closed pulins201 closed 6 years ago
I find you can fix the capsLayer.py. In 129, you delete the "keepdims=True". Then it works.
ok
It should be written as "keep_dims=True"
I'm getting the same error when following this github code https://github.com/akosiorek/akosiorek.github.io/blob/master/notebooks/attention_glimpse.ipynb How can I fix this? I'm stuck
Jupyter notebook:
gaussian_att_params = tf.concat([tu, ts, td, tu, ts, td], -1) gaussian_glimpse_expr = gaussian_glimpse(tx, gaussian_att_params, glimpse_size)
Upon running error: TypeError Traceback (most recent call last)
I have met the same question.