salaniz / pycocoevalcap

Python 3 support for the MS COCO caption evaluation tools
Other
300 stars 84 forks source link

OSError: [Errno 22] Invalid argument #14

Closed MrAccelerator closed 8 months ago

MrAccelerator commented 2 years ago

The question is strange. I run example.py in pycocoevalcap gives the results normally. However, when I run the model code, I report the error OSError: [Errno 22] Invalid argument. 图片 Java: 1.8 python: 3.6 OS: windows java -jar -Xmx2G meteor-1.5.jar - - -stdio -l en -norm ->This is the output: 图片 But this file(paraphrase-en.gz) exists in the right path.

salaniz commented 1 year ago

Unfortunately, I cannot reproduce this error. Can you please try using the following conda environment and tell me if the problem persists?

name: pycocoevalcap
channels:
  - conda-forge
  - defaults
dependencies:
  - openjdk=11.0.15
  - pip=22.3.1
  - python=3.11.0
  - pip:
      - pycocotools==2.0.6
      - pycocoevalcap==1.2