Replies: 5 comments
-
anyone?:) |
Beta Was this translation helpful? Give feedback.
-
@divastar Did you find a way to extract the embeddings ? |
Beta Was this translation helpful? Give feedback.
-
aditya-ihx but it is failing in the framework.core.py import unittest.mock but getting circular imports problems the system breaks |
Beta Was this translation helpful? Give feedback.
-
I am trying to accomplish the same goal. As of now I have nothing, will update you over the weekend if there is any progress |
Beta Was this translation helpful? Give feedback.
-
Great! Thank you 🙏 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on performing inference using PaddleOCR for text recognition tasks.
During the inference process, I'm able to to recognize text.
However, I'm interested in extracting the embeddings just before the softmax argmax operation.
These embeddings would provide valuable information for further analysis and processing.
Could you please guide me on how to access these embeddings in the PaddleOCR framework?
I tried to use the following code :
import paddleocr.pproc.inference.wrapper as wrapper
predictor = wrapper.Predictor()
embeddings = predictor.run(imglist)
However, this resulted in the following error:
ImportError: generic_type: type "VarBase" is already registered! (fluid/core.py",line 197, in from. import libpaddle
Any insights or code examples would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions