tyliupku / wiki2bio

Code for AAAI2018 paper "Table-to-text Generation by Structure-aware Seq2seq Learning"
https://arxiv.org/abs/1711.09724
152 stars 46 forks source link

AssertionError assert text_len == len(field) #4

Open scut-salmon opened 6 years ago

scut-salmon commented 6 years ago

I run this project with main.py but got the error as above, and found that text_len=32 and len(field) =31, how can I fix this problem? Thanks, Zhang

YavuzDogan commented 5 years ago

I ran into the same error today. Any updates on this issue? Thanks a lot

RainyTong commented 5 years ago

Same problem...

YavuzDogan commented 5 years ago

I found that this error occurs due to a wrong version of tensorflow. After downgrading tensorflow to version 1.0.0 everything worked fine.

RainyTong commented 5 years ago

I found that this error occurs due to a wrong version of tensorflow. After downgrading tensorflow to version 1.0.0 everything worked fine.

That's cool! Thanks a lot. BTW, which version of the python and cuda, cuDNN are you using?

Stroopr commented 4 years ago

Same problem .. Is it possible to solve this issue without going back to tensorflow 1.0.0 ? I'am having lot more issues working on this version. I'm on windows btw