When i import the model, It gives me this Error ValueError: Layer count mismatch when loading weights from file. Model expected 4 layers, found 0 saved layers #1776
Unanswered
AaribAzfar
asked this question in
Q&A
Replies: 3 comments 20 replies
-
This is the Whole Error
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @AaribAzfar 👋, Which backend do you use TensorFlow or PyTorch and which docTR version ? :) Could you please also provide the informations you get by executing: https://github.com/mindee/doctr/blob/main/scripts/collect_env.py ? |
Beta Was this translation helpful? Give feedback.
10 replies
-
OK i will check for OnnxTR |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried using doctr, for OCR and when i try to load model, it gives this error
This Error:
ValueError: Layer count mismatch when loading weights from file. Model expected 4 layers, found 0 saved layers
Beta Was this translation helpful? Give feedback.
All reactions