- Odd size issue
We use the IQR method now instead of a hard threshold to detect odd sized images compared to the rest of the dataset. According to this, an image is marked as odd sized ifsize > q1 + 3 * IQR
orsize < q3 - 3 * IQR
, where q1 and q3 are the 25th and 75th percentiles respectively. - Statistics
imagelab.info['statistics']
is now updated to provide key statistics like mean, std, min, max, 25%, 50%, and 75% for all the image properties being computed while looking for issues. - Bug fix
Image was being resized to zero width/height for blurry issue check, in cases where aspect ratio was unusual. - CI pipeline
Version updates for black, flake8 docs requirements and datasets library.
Added cron schedule for running tests.
Related PRs
- Bumped up version to 0.3.5 by @sanjanag in #244
- HF datasets version fix by @sanjanag in #249
- Run CI pipeline on a cron schedule by @sanjanag in #248
- Added a min size of 1 to avoid zero width/length in resize by @sanjanag in #250
- Odd size revamp by @sanjanag in #247
- Links update by @sanjanag in #251
Full Changelog: v0.3.5...v0.3.6