TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Are there any open source ML libraries that have good (or any) test coverage?

2 pointsby taraskuzykover 3 years ago
I have been looking to use lipsync for a project at work, and I have been horrified to see that the most used deepfake library [0] with over 30k stars has the word &quot;test&quot; mentioned in it a whopping 10 times. This naturally made me very hesitant to use this library as who (I guess no one, really) knows how unstable it may be.<p>Are there any examples of projects in ML (other than libs like pytorch) that do have test suites, and perhaps even enforce TDD? Would be very curious to know.<p>[0] DeepFaceLab https:&#x2F;&#x2F;github.com&#x2F;iperov&#x2F;DeepFaceLab

1 comment

t-viover 3 years ago
I try to have test coverage for the (small) independent libraries I do.<p>It&#x27;s a bit tricky to go really deep with tests when you don&#x27;t have a reference, but I like to see that at least basic logic errors and typos in attribute names are caught.<p>Many of the larger libraries in the PyTorch ecosystem have some sort of testing. The things that are mostly &quot;here is a model&quot; often do not.