-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gives wrong results when the code is run for some images in a loop #9
Comments
Code used :
|
Thanks! It's fixed in v0.1.3:
|
Hello! Thank you for your amazing work! def __init__(self, blocks: List = [], page_data: Dict = None):
self._blocks = blocks to def __init__(self, blocks: Optional[List] = None, page_data: Dict = None):
self._blocks = blocks if blocks is not None else [] See here for reference. |
Thanks! Good catch and yeah, it's definitely incorrect to use |
The code works when it is run for a single image. But when I run the same code in a loop for few images from the publaynet dataset, cached results seem to apply (i.e. The bounding boxes overlap and the boxes for the previous images are also put in the current image).
The text was updated successfully, but these errors were encountered: