titu1994 / keras-non-local-nets

Keras implementation of Non-local Neural Networks
MIT License
290 stars 100 forks source link

ValueError: None values not supported #15

Open lizhi1215 opened 4 years ago

lizhi1215 commented 4 years ago

ValueError: None values not supported. I missed the problem in rows 136,which is "y = Reshape((dim1, dim2, intermediate_dim))(y)",it means we can't reshape the tensor to [None,None,None,128] from the original tensor with shape [None,None,128].I have been in the trouble for a few days,is there any one can help me solve this problem?Thanks for your help!My keras is 2.1.5 and tensorflow is 1.8.

C-water commented 3 years ago

Hi, I have the same problem and do you have a solution?

lizhi1215 commented 3 years ago

I have solved this problem, wechat lizhi12-15

On 05/26/2021 12:42, chenquan-hdu wrote:

Hi, I have the same problem and do you have a solution?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.