Green-Wood / CoMER

Official implementation for ECCV 2022 paper "CoMER: Modeling Coverage for Transformer-based Handwritten Mathematical Expression Recognition"
https://arxiv.org/abs/2207.04410
107 stars 21 forks source link

bash eval_all.sh报错,可以看看吗 #8

Open weizhenhuan opened 1 year ago

weizhenhuan commented 1 year ago
image

很急,毕设是这相关的,跑不出结果没法写论文啊呜呜呜

SuperHHzy commented 1 year ago

你好,请问解决了吗?

SuperHHzy commented 1 year ago

bash eval_all.sh的时候,是否遇到这样的报错呢?我确认我是导入了comer了的 image

kingqiuol commented 1 year ago

bash eval_all.sh的时候,是否遇到这样的报错呢?我确认我是导入了comer了的 image

自己添加下环境就行吧 import sys sys.path.append(xxxxxx) # 当前CoMER文件夹路径

SuperHHzy commented 1 year ago

为什么执行bash eval_all.sh的时候,执行到tex2symlg的时候,我最多只能使用pandoc转换得到230个mml文件?按理说应该是985个。 image

SidneyRey commented 5 months ago
image

很急,毕设是这相关的,跑不出结果没法写论文啊呜呜呜

the same to you, did you sloved it?

SidneyRey commented 5 months ago
image

很急,毕设是这相关的,跑不出结果没法写论文啊呜呜呜

the same to you, did you sloved it?

I have already resolved this issue. After examining the inkml files and lg files, I discovered that the lg files were empty. Subsequently, I reinstalled pandoc according to the author's specified version, and also installed the XML::LibXML module within perl. With these changes, I successfully converted inkml files to lg files, and the resulting output is now as expected.

zhouyupeng973 commented 4 months ago
image

很急,毕设是这相关的,跑不出结果没法写论文啊呜呜呜

the same to you, did you sloved it?

I have already resolved this issue. After examining the inkml files and lg files, I discovered that the lg files were empty. Subsequently, I reinstalled pandoc according to the author's specified version, and also installed the XML::LibXML module within perl. With these changes, I successfully converted inkml files to lg files, and the resulting output is now as expected.

sudo apt-get install libxml-libxml-perl 请问你是怎么下的xml啊?是这样吗?