PFCCLab / PPOCRLabel

PPOCRLabelv2 is a semi-automatic graphic annotation tool suitable for OCR field, with built-in PP-OCR model to automatically detect and re-recognize data.
105 stars 32 forks source link

PPOCRLabel自动标注没有标注 #112

Closed py0student closed 5 days ago

py0student commented 5 days ago

(ppocr_gpu) D:\Anaconda\envs\ppocr_gpu\Lib\site-packages\PPOCRLabel>python PPOCRLabel.py --lang ch 信息: 用提供的模式无法找到文件。 D:\Anaconda\envs\ppocr_gpu\lib\site-packages\paddle\utils\cpp_extension\extension_utils.py:686: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md warnings.warn(warning_message) [2024/11/18 10:41:33] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0 [2024/11/18 10:41:34] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0 [2024/11/18 10:41:35] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0 [2024/11/18 10:41:37] ppocr WARNING: When args.layout is false, args.ocr is automatically set to false [2024/11/18 10:41:37] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0 [2024/11/18 10:41:38] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0 [2024/11/18 10:41:39] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0 [2024/11/18 10:41:43] ppocr WARNING: The first GPU is used for inference by default, GPU ID: 0

执行第一行的代码后弹出如上信息,然后打开了标注工具,但是点击“自动标注”后点击“OK”后,图片上没有任何标注。 在执行自动标注前终端会弹出来这个Using model from paddle,不知道有没有关系.....

GreatV commented 5 days ago

paddle框架版本换成paddle 3 beta 1试试

py0student commented 5 days ago

paddle框架版本换成paddle 3 beta 1试试

谢谢解答,不过我刚才用cpu试了试,标注出来了......,可能是我没有正确配置gpu.....