VikParuchuri / marker

Convert PDF to markdown quickly with high accuracy
https://www.datalab.to
GNU General Public License v3.0
13.97k stars 707 forks source link

Why not load other models? set ocrmypdf and null did not work. #210

Closed sujianwei1 closed 5 days ago

sujianwei1 commented 1 week ago

sujw@Jarvis:/mnt/c/Users/70984/Desktop/pycode$ echo $OCR_ENGINE ocrmypdf sujw@Jarvis:/mnt/c/Users/70984/Desktop/pycode$ marker_single /mnt/c/Users/70984/Desktop/pycode/bak/zjrb2024060600001v01n.pdf /mnt/c/Users/70984/Desktop/pycode --batch_multiplier 5 --langs Chinese 2024-06-28 18:52:59.314495: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2024-06-28 18:52:59.356333: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-06-28 18:53:00.243498: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT Loaded detection model vikp/surya_det2 on device cuda with dtype torch.float16 Loaded detection model vikp/surya_layout2 on device cuda with dtype torch.float16 Loaded reading order model vikp/surya_order on device cuda with dtype torch.float16 Loaded recognition model vikp/surya_rec on device cuda with dtype torch.float16 Loaded texify model to cuda with torch.float16 dtype

VikParuchuri commented 5 days ago

I don't understand the question