2.0.2
Release Notes for Loghi-HTR Version 2.0.2
Date: 2024-04-18
Overview
Version 2.0.2 enhances Loghi-HTR with improved TensorFlow strategy automation, API error handling, memory management, and security updates.
Major Updates
- Automated TensorFlow Distribution Strategy: Adjusts TensorFlow strategy based on the GPU count, optimizing for various hardware configurations.
- Enhanced API Error Handling:
- Issues a 400 response code for input validation errors, improving API reliability.
- Handles zero-byte images to prevent processing errors.
- Memory Management Overhaul: Addresses a memory leak in API by shifting to numpy objects for better garbage collection.
Additional Improvements
- Gunicorn Security Update: Upgraded to the latest version as per security advisory CVE-2024-1135.
- Bug Fix - assert_cardinality Warning: Resolved dataset processing warnings to ensure smoother operations.
Docker Image
The Docker image for version 2.0.2 can be obtained using:
docker pull loghi/docker.htr:2.0.2
Contributors
- @TimKoornstra: Implemented all updates and fixes in this release.
Full Changelog: 2.0.1...2.0.2