surya icon indicating copy to clipboard operation
surya copied to clipboard

Update README.md

Open tzktz opened this issue 11 months ago • 1 comments

ModuleNotFoundError: No module named 'surya.model.segformer'

Change This

From from surya.model.segformer import load_model, load_processor

To from surya.model.detection.segformer import load_model, load_processor

tzktz avatar Mar 02 '24 11:03 tzktz

exactly as it was updated in this commit for the "layout" and "text line detection" sections and forgotten for the first OCR section

very important!!

iaminebriki avatar Jul 29 '24 01:07 iaminebriki