1. 11 Apr, 2025 1 commit
    • myhloli's avatar
      refactor(model): optimize batch processing and inference · d2fc9dab
      myhloli authored
      - Update batch processing logic for improved efficiency
      - Refactor image analysis and inference methods
      - Optimize dataset handling and image retrieval
      - Improve error handling and logging in batch processes
      d2fc9dab
  2. 10 Apr, 2025 1 commit
  3. 09 Apr, 2025 1 commit
  4. 07 Apr, 2025 1 commit
  5. 03 Apr, 2025 1 commit
    • myhloli's avatar
      refactor(magic_pdf): optimize code and improve logging · 553f250f
      myhloli authored
      - Remove unused imports and comments
      - Increase MIN_BATCH_INFERENCE_SIZE from 100 to 200
      - Comment out VRAM cleaning and logging in batch_analyze.py
      - Simplify code in doc_analyze_by_custom_model.py- Add tqdm progress bar in pdf_parse_union_core_v2.py
      - Enable tqdm in OCR processing
      553f250f
  6. 02 Apr, 2025 1 commit
  7. 31 Mar, 2025 1 commit
  8. 26 Mar, 2025 2 commits
  9. 24 Mar, 2025 1 commit
  10. 20 Mar, 2025 4 commits
  11. 19 Mar, 2025 1 commit
  12. 13 Mar, 2025 2 commits
  13. 11 Mar, 2025 1 commit
  14. 03 Mar, 2025 3 commits
  15. 25 Feb, 2025 1 commit
    • myhloli's avatar
      perf(model): optimize batch analyze process · 6753df8d
      myhloli authored
      - Move batch model initialization outside the loop
      - Collect page dimensions before analyzing- Update page info dictionary structure
      - Add null dimensions for non-analyzed pages
      6753df8d
  16. 24 Feb, 2025 1 commit
  17. 22 Feb, 2025 1 commit
  18. 11 Feb, 2025 2 commits
  19. 10 Feb, 2025 1 commit
  20. 07 Feb, 2025 1 commit
  21. 27 Jan, 2025 2 commits
  22. 21 Jan, 2025 6 commits
  23. 17 Jan, 2025 1 commit
    • myhloli's avatar
      fix(magic_pdf): limit batch ratio for GPU memory · db8be974
      myhloli authored
      - Commented out the original batch ratio calculation
      - Set a fixed batch ratio of 2 for GPUs with less than 8 GB memory
      - Increased batch ratio to 4 for GPUs with 8 GB or more memory
      db8be974
  24. 16 Jan, 2025 1 commit
  25. 15 Jan, 2025 1 commit
  26. 26 Dec, 2024 1 commit
    • 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