tal-tech / SAN

Syntax-Aware Network for Handwritten Mathematical Expression Recognition
91 stars 22 forks source link

What is the correct step after downloading the dataset? #7

Open daeing opened 2 years ago

daeing commented 2 years ago

After downloading the dataset, I tried run gen_hybrid_data.py to generate the tree txt according to the train_labels.txt. It shows the error below:

unknown word before { train_476 1 unknown word before { train_476 6 File "gen_hybrid_data.py", line 142, in parent = Tree('right', id=parents[-1].id + 1) IndexError: list index out of range

Can you write the correct steps in readme file?

ChenSi521 commented 1 year ago

I get the same error; did you solve this problem?