Update README.md
Browse files
README.md
CHANGED
|
@@ -4,3 +4,8 @@ license: mit
|
|
| 4 |
|
| 5 |
> [!IMPORTANT]
|
| 6 |
> This is a copy of the model weights from the [https://huggingface.co/rednote-hilab/dots.ocr](https://huggingface.co/rednote-hilab/dots.ocr) model. These weights cannot be used for other purposes. If you wish to do so, please visit the original model page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
> [!IMPORTANT]
|
| 6 |
> This is a copy of the model weights from the [https://huggingface.co/rednote-hilab/dots.ocr](https://huggingface.co/rednote-hilab/dots.ocr) model. These weights cannot be used for other purposes. If you wish to do so, please visit the original model page.
|
| 7 |
+
|
| 8 |
+
Previously, inference with the model [[https://huggingface.co/rednote-hilab/dots.ocr](https://huggingface.co/rednote-hilab/dots.ocr)] would fail with the following error:
|
| 9 |
+
**Error loading dots-ocr model: Received a NoneType for argument 'video_processor', but a BaseVideoProcessor was expected.** in the latest Transformers versions.
|
| 10 |
+
|
| 11 |
+
This page, which includes the model weights and corrected configuration, fixed the issue and allowed Transformers inference to run smoothly.
|