google-research / google-research/inksight
ocr_predictor error
Open
- Dominant language
- Jupyter Notebook
- Stars
- 1k
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
I am trying to use this cool project but when running code snippets in Colab:
from doctr.models import ocr_predictor
predictor = ocr_predictor(pretrained=True)
print("doctr predictor loaded.")
An error occurred:
ValueError: Layer 'conv2d_87' expected 1 variables, but received 0 variables during loading. Expected: ['fast/fast_neck/fast_conv_layer_33/conv2d_87/kernel:0']
I have confirmed that the model download did not encounter any errors and used the environment of "tensorflow==2.17.0", "tf keras==2.17.0", and "python doctr [tf, viz]==0.10.0".
Do you know why this happen?
Contributor guide
Assessment
This issue has not been assessed yet.