- 20 Mar, 2025 3 commits
-
-
myhloli authored
- Remove half() calls for DocLayoutYOLO and YOLOv8 models - This change prevents potential errors when running models on CPU
-
myhloli authored
- Update config version to1.2.0 - Refactor model initialization in model_init.py- Update dependencies in requirements.txt files - Remove unused imports and models - Add conditional imports for table models
-
myhloli authored
- Add support for Apple M1 chips (mps device) - Refactor image processing for better performance and compatibility - Update model loading and inference for various devices - Adjust batch processing and memory management
-
- 19 Mar, 2025 2 commits
- 13 Mar, 2025 4 commits
- 12 Mar, 2025 1 commit
-
-
myhloli authored
- Remove unnecessary __getitem__ method - Simplify image cropping in detect_math_formula_region - Improve code readability and efficiency
-
- 11 Mar, 2025 1 commit
-
-
myhloli authored
- Set NPUDTCompile to false for better performance on NPU - Adjust batch ratio
-
- 10 Mar, 2025 1 commit
-
-
myhloli authored
- Remove unused @ImportPIL decorator from load_images_from_pdf function - Update image shape handling in YOLOv11.py for better compatibility These changes improve code readability and performance without altering the original functionality.
-
- 07 Mar, 2025 2 commits
-
-
myhloli authored
- Replace PIL with cv2 for image processing - Fix issues with image cropping and resizing - Add boundary checks and error handling - Optimize code for better performance and readability
-
myhloli authored
- Remove PIL usage across multiple files - Convert image processing functions to use NumPy arrays - Update crop_img function to work with NumPy arrays - Modify image loading and resizing to use NumPy and OpenCV - Clean up unused imports and comments related to PIL
-
- 03 Mar, 2025 5 commits
-
-
myhloli authored
- Increase batch ratio to 8 for GPU memory >=16GB - Improve inference performance on systems with higher GPU memory
-
icecraft authored
-
myhloli authored
- Simplify batch ratio logic for GPU memory >= 16GB - Remove unnecessary conditions for 20GB and 40GB memory
-
myhloli authored
- Simplify batch ratio logic for GPU memory >= 16GB - Remove unnecessary conditions for 20GB and 40GB memory
-
myhloli authored
- Sort detected images by area before processing to enhance MFR accuracy - Implement stable sorting to maintain original order of images with equal
-
- 26 Feb, 2025 1 commit
-
-
icecraft authored
-
- 25 Feb, 2025 1 commit
-
-
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
-
- 24 Feb, 2025 1 commit
-
-
myhloli authored
- Update the logic for determining `end_page_id` to handle negative values - This change ensures proper behavior when `end_page_id` is set to -1 or other negative values
-
- 23 Feb, 2025 1 commit
-
-
myhloli authored
- Add license ID information to the log for better traceability - Improve logging format to include both license ID and expiration date
-
- 22 Feb, 2025 1 commit
-
-
Nathan Dahlberg authored
-
- 21 Feb, 2025 2 commits
-
-
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
-
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
-
- 18 Feb, 2025 3 commits
- 11 Feb, 2025 2 commits
-
-
myhloli authored
- Move environment variable settings for NPU, MPS, and other configurations to the global scope in doc_analyze_by_custom_model.py - Remove redundant environment variable settings in pdf_extract_kit.py - This change ensures consistent configuration across the application and avoids potential conflicts or duplicate settings
-
myhloli authored
-
- 10 Feb, 2025 2 commits
-
-
myhloli authored
- Remove redundant imports for StructTableModel and TableMasterPaddleModel - Reorder imports to group related modules together - Update import structure for better readability and maintainability
-
myhloli authored
- Remove unused utility functions - Update import statements for better readability - Add conditional imports for Ascend plugin - Refactor table model initialization to support NPU
-
- 09 Feb, 2025 1 commit
-
-
myhloli authored
- Increase batch size from 8 to 256 for language detection inference - Add timing measurement for language detection process
-
- 07 Feb, 2025 1 commit
-
-
myhloli authored
- Update batch ratio calculation logic to better utilize available GPU memory - Improve logging for all GPU memory sizes
-
- 27 Jan, 2025 2 commits
- 21 Jan, 2025 3 commits
-
-
myhloli authored
- Update conditions for batch ratio assignment: -8 <= gpu_memory < 10: batch_ratio = 2 - 10 <= gpu_memory <= 12: batch_ratio =4 - This fix ensures proper batch ratio selection for GPU memory sizes
-
myhloli authored
- Improve batch ratio calculation based on GPU memory - Enhance performance for devices with 8GB or more VRAM
-
myhloli authored
- Reduce batch_ratio by 1 for better performance and stability - This change ensures more consistent memory usage when processing documents
-