1. 21 Feb, 2025 2 commits
    • myhloli's avatar
      fix(model): handle import errors and improve exception logging · 66f0899a
      myhloli authored
      - Add ImportError handling to silence known import-related exceptions
      - Improve generic exception handling to log error messages- Maintain existing specific exception handlers for license-related issues
      66f0899a
    • myhloli's avatar
      feat(model_init): implement license verification for Ascend plugin · d5f6fbc6
      myhloli authored
      - Add license verification logic for Ascend plugin
      - Handle different license-related exceptions with appropriate error messages
      - Log success message with license expiration date if verification passes
      - Fall back to CPU model if license verification fails or plugin is not available
      d5f6fbc6
  2. 10 Feb, 2025 2 commits
  3. 16 Jan, 2025 1 commit
    • myhloli's avatar
      feat(table): upgrade RapidTable to1.0.3 and add sub-model support · 79c8a5c8
      myhloli authored
      - Update RapidTable dependency to version 1.0.3
      - Add support for sub-models in RapidTable
      - Update magic-pdf configuration to include table sub-model
      - Modify table model initialization to support sub-models
      - Update table prediction logic to handle new output format
      79c8a5c8
  4. 09 Jan, 2025 1 commit
  5. 08 Jan, 2025 1 commit
  6. 03 Jan, 2025 1 commit
    • myhloli's avatar
      feat(model): add onnxruntime support for paddleocr on cpu · 512adb67
      myhloli authored
      - Implement ONNXModelSingleton to manage ONNX models
      - Modify ModifiedPaddleOCR to use ONNX models on ARM CPUs without CUDA
      - Update RapidTableModel to use RapidOCR with ONNXRuntime on CPU
      - Add rapidocr_onnxruntime dependency in setup.py
      512adb67
  7. 30 Dec, 2024 1 commit
  8. 26 Dec, 2024 2 commits
    • myhloli's avatar
      refactor(device): optimize memory cleaning and device selection · 50f48417
      myhloli authored
      - Update clean_memory function to support both CUDA and NPU devices
      - Implement get_device function to centralize device selection logic
      - Modify model initialization and memory cleaning to use the selected device
      - Update RapidTableModel to support both RapidOCR and PaddleOCR engines
      50f48417
    • myhloli's avatar
      feat(model): add npu support and optimize table model · 7990e7df
      myhloli authored
      - Add NPU support for memory cleaning and model initialization
      - Optimize table model initialization and prediction process
      - Update memory utils to support NPU
      - Add language parameter for table model
      7990e7df
  9. 06 Dec, 2024 5 commits
  10. 05 Dec, 2024 1 commit
    • myhloli's avatar
      perf(model): add threading lock for OCR model initialization · 04478095
      myhloli authored
      - Introduce a lock to synchronize access to OCR model initialization- This change improves thread safety when multiple threads access the OCR model concurrently
      - The lock ensures that the OCR model is initialized only once, even in multi-threaded scenarios
      04478095
  11. 21 Nov, 2024 1 commit
  12. 19 Nov, 2024 1 commit
  13. 15 Nov, 2024 1 commit