-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
It seems that the sizes of the images don't match. Anyone else encountering this error?
Traceback (most recent call last):
File "pix2tex.py", line 198, in <module>
pred = call_model(args, *objs, img=img)
File "pix2tex.py", line 84, in call_model
input_image = pad(img).convert('RGB').copy()
File "/mnt/lerner/ocr_latex/LaTeX-OCR/utils/utils.py", line 104, in pad
padded.paste(im, im.getbbox())
File "/opt/conda/lib/python3.8/site-packages/PIL/Image.py", line 1527, in paste
self.im.paste(im, box)
ValueError: images do not match
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working