News for hackers. Stuff that matters.

hassonofer

Show HN: PyTorch K-Means GPU-friendly, single-file, hierarchical and resampling

I built a small, self-contained K-Means implementation in pure PyTorch: https://gitlab.com/hassonofer/pt_kmeansI was working on dataset sampling and approximate nearest neighbor search, and tried several existing libraries for large-scale K-Means. I couldn't find something that was fast, simple, and would run comfortably on my own workstation without hitting memory limits. Maybe I missed an...

( Read More... | no comments | 5 points | on HN )
Re:Merlin Bird ID on Wednesday June 04, 2025 @07:32AM (#44179546)
I'm the author of the Birder framework (a computer vision toolkit for bird classification) - https://gitlab.com/birder/birder It's still in early alpha, but you might find it useful for your DSLR workflow.

If you're interested in trying a web-based alternative, I have a demo space at https://huggingface.co/spaces/birder-project/birder-image-cl... where you can upload images directly from your browser. Fair warning though - it's primarily designed to showcase the models rather than provide any kind of user experience, so you'll need to manually select the appropriate regional model (look for suffixes like eu-common, arabian-peninsula, etc. based on where your photos were taken).

The coverage is still very limited... More regions will follow in the coming months.