Skip to content
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

segformer model not found #15

Open
Amokh2018 opened this issue Aug 26, 2024 · 3 comments
Open

segformer model not found #15

Amokh2018 opened this issue Aug 26, 2024 · 3 comments

Comments

@Amokh2018
Copy link

I'm getting this error when running server.py:

from surya.model.detection import segformer
ImportError: cannot import name 'segformer' from 'surya.model.detection' (unknown location)

@lueckgit
Copy link

same here

@Upcreat
Copy link

Upcreat commented Aug 31, 2024

+1

@yhllow
Copy link

yhllow commented Oct 8, 2024

try uninstall surya-ocr and install 0.4.3 version:

pip uninstall surya-ocr
pip install surya-ocr==0.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@yhllow @Amokh2018 @Upcreat @lueckgit and others