CVHub520 / X-AnyLabeling

Effortless data labeling with AI support from Segment Anything and other awesome models.
GNU General Public License v3.0
4.05k stars 467 forks source link

Error in model prediction: [Errno 2] no such file or directory. Please check the model. #649

Closed dep727 closed 1 month ago

dep727 commented 1 month ago

Search before asking

X-AnyLabeling Component

Model

Bug

Error in model prediction: [Errno 2] no such file or directory: 'C:\Users\User\AppData\Local\Temp\_MEI47002\anylabeling\services\auto_labeling\config/ppocr/ppocr_keys_v1.txt'. Please check the model.

Information

Ran ch_PP-OCRv4 with X-Anylabeling-CPU.exe v2.4.3 Found out that folder 'ppocr' does not exist when Temp folder got created every time executable open. I have to manually add ppocr folder from src code to that temp folder.

Link to a Reproducible Demonstration Video

.

Execution Mode

Pre-compiled Executable

Additional

No response

Are you willing to submit a PR?

CVHub520 commented 1 month ago

Hey there! @dep727,

Thank you for reporting this issue. I'm pleased to inform you that this bug has been fixed in the latest release.

The problem occurred because the 'ppocr' folder was not being properly included in the temporary folder when the executable was opened. This has been addressed in the latest commit

To resolve the issue, please redownload from the following link and try it out.

If you encounter any further issues after updating, please don't hesitate to let us know. We appreciate your feedback as it helps us improve the software.