opendatalab / UniMERNet

UniMERNet: A Universal Network for Real-World Mathematical Expression Recognition
https://huggingface.co/spaces/opendatalab/UniMERNet-Demo
Apache License 2.0
175 stars 16 forks source link

requirements.txt file is missing in the repository #30

Open BFlameSwift opened 1 week ago

BFlameSwift commented 1 week ago

Hello,

I was following the instructions in the README.md to set up the CDM subproject. However, when I reached Step 4: install python requirements and tried to run:

pip install -r requirements.txt

I noticed that the requirements.txt file is missing from the repository.

Could you please upload the requirements.txt file or provide guidance on how to install the necessary dependencies?

Thank you for your help!

wufan-tb commented 1 week ago

We uploaded the requirements.txt, please try again.

BFlameSwift commented 1 week ago

We uploaded the requirements.txt, please try again.

hello , I successfully config the conda environment on my machine. but when I try to use cdm to evaluate my own dataset, meet the problem as follows:

magick: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `output/refind_pred_N1/pred/vis/N1_654_base.png' @ warning/png.c/MagickPNGWarningHandler/1526magick: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG `output/refind_pred_N1/pred/vis/N1_1389_base.png' @ warning/png.c/MagickPNGWarningHandler/1526.

finally, I got nan result: none image is successfully evaluate.

{
  "mean_score": NaN,
  "exp_rate": NaN,
  "details": {}
}
wufan-tb commented 1 week ago

it looks like just a warning, is there any other errors? you can also try your latex code on our online demo, to makesure your input data is correct. https://huggingface.co/spaces/opendatalab/CDM-Demo