Lightning-Universe / Pose-app

A Lightning app for animal pose estimation.
https://pose-app.readthedocs.io/
Apache License 2.0
18 stars 1 forks source link

streamline LS updates for large datasets #105

Closed themattinthehatt closed 2 months ago

themattinthehatt commented 2 months ago

the Lightning App periodically updates the CollectedData.csv file by reading from the Label Studio database. Previously this was hard-coded for short intervals to ensure timely updates to the csv file, but if there are too many labels then this process will start again before the previous process completed. Now the interval is more dynamic and depends on the overall number of labeled frames, and will scale better to datasets with thousands or tens of thousands of frames.