UniModal4Reasoning / StructEqTable-Deploy

A High-efficiency Open-source Toolkit for Table-to-Latex Task
Apache License 2.0
147 stars 10 forks source link

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format? #12

Closed hl-gl closed 3 weeks ago

hl-gl commented 2 months ago

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

sky-fly97 commented 2 months ago

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

Hi, Can you show your example?

hl-gl commented 2 months ago

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

Hi, Can you show your example?

However, the latex format file cannot be displayed correctly when converted to markdown format file

sky-fly97 commented 2 months ago

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

Hi, Can you show your example?

However, the latex format file cannot be displayed correctly when converted to markdown format file

Currently our model only supports latex format output. Since markdown format doesn't support merged cells, as shown in the code of demo.py, some simple tables that do not contain merged cells can be converted by the pypandoc tool, but if it is a complex table may not work.

hl-gl commented 2 months ago

Hello, if you set the output to markdown format, but the final output data is not in MARKDOWN format?

Hi, Can you show your example?

However, the latex format file cannot be displayed correctly when converted to markdown format file

Currently our model only supports latex format output. Since markdown format doesn't support merged cells, as shown in the code of demo.py, some simple tables that do not contain merged cells can be converted by the pypandoc tool, but if it is a complex table may not work.

image image image The third picture shows the markdown output using the method in the first picture. According to the results, the correct markdown file was not successfully output. How can I solve this problem?

sky-fly97 commented 2 months ago

This is my output. Screenshot from 2024-09-03 14-44-29

sky-fly97 commented 2 months ago

You can see if the latex code is correct, if it is correct it may be a problem with pypandoc, the version I use is 1.13.

hl-gl commented 2 months ago

You can see if the latex code is correct, if it is correct it may be a problem with pypandoc, the version I use is 1.13.

Thank you, the problem is solved. When downloading the model file, version 1 and version 2 should be confused.

PrinceVictor commented 3 weeks ago

Due to the lack of recent updates, this issue will be closed.