v7labs / darwin-py

Library and commandline tool for managing datasets on darwin.v7labs.com
MIT License
115 stars 42 forks source link

[DAR-2237][External] Fix bug with compute_distributions() #846

Closed JBWilkie closed 4 months ago

JBWilkie commented 4 months ago

Problem

Changes made to the way that darwin-py refers to annotation files a few versions ago mean that the "stems" passed to the compute_distributions() function when training in-platform models now end with .json. This breaks this function, which so far as assumed that they don't

Solution

Allow the function to work with both files ending with .json and those that don't

Changelog

Improved tolerance of a darwin-py function used for in-platform model training

linear[bot] commented 4 months ago

DAR-2237 Fix a bug with the compute_distributions function