Sign in

Thomas Lefebvre

@tlbvr.com
115 followers 60 following 176 posts

Product/ML Eng @unsplash. I write things on tlbvr.com Montreal 🇨🇦

PostsRepliesMedia
Thomas Lefebvre @tlbvr.com · 30/05/2026
Implemented something to track pieces and give them stable ids. This will allow me to understand more precise movement across the board, e.g knowing if a piece got lifted and put back on the same square.
000
Thomas Lefebvre @tlbvr.com · 16/05/2026
Transposing the board into a 2D grid for visualization. I'm going to need some smoothing/tracking because at soon as the model loses after some jitter, it forgets something was there before.
000
Thomas Lefebvre @tlbvr.com · 25/04/2026
It's now able to map detections back to squares in the board grid space and flag them as "occupied".
100
Thomas Lefebvre @tlbvr.com · 11/04/2026
Model needs work with classification but the video pipeline is now much smoother at 30fps.
100
Thomas Lefebvre @tlbvr.com · 06/03/2026
Making progress..slowly but surely. The model needs more training but here's a friday evening end to end pipeline.
000
Thomas Lefebvre @tlbvr.com · 01/03/2026
I may have an acute overfitting case here...
000
Thomas Lefebvre @tlbvr.com · 28/02/2026
Decided to fine-tune YOLO. I'm annotating data...how's your saturday?
000
Thomas Lefebvre @tlbvr.com · 14/02/2026
I'm trying Molmo and this is impressive
000
Thomas Lefebvre @tlbvr.com · 13/02/2026
Overwriting the overridable overridden instructions.
000
Thomas Lefebvre @tlbvr.com · 12/02/2026
Some progress...
200
Thomas Lefebvre @tlbvr.com · 26/01/2026
We just named one of our service after this magical object. For all the Zelda fans out there.
000
Thomas Lefebvre @tlbvr.com · 19/01/2026
Finally got it working on live camera. It's still supper laggy when I draw onto the frame but the most important part is the homography works in various angles. Still need to test how it behaves in various brightness settings.
010
Thomas Lefebvre @tlbvr.com · 18/01/2026
I applied the same heuristics to another board where I printed the actual aruco markers. Works well! Defining the playable squares by hand is a bit tedious, but I'm sure we can streamline this.
210
Thomas Lefebvre @tlbvr.com · 02/01/2026
I'm finally writing the second part. Never too late.
Screenshot with a sneak peek of the second part of the blog series.
011
Thomas Lefebvre @tlbvr.com · 30/12/2025
Woaw. I'm finding my TS roots again (this is python)
Functional python snippet
100
Thomas Lefebvre @tlbvr.com · 29/12/2025
On to detecting pieces — I'm not sure yet how I'm going to avoid false positive because of light/shadows.
100
Thomas Lefebvre @tlbvr.com · 24/12/2025
Building a way to map game boards and make it resilient to jitter/skewing. Goal is to feed video frames to this algorithm and keep the mapping stable.
Original board with squares mapped out.Skewed board 1 retaining original mappingSkewed board 2 retaining original mapping
100
Thomas Lefebvre @tlbvr.com · 29/07/2025
I'm setting up K-fold cross validation producing K models, each trained on a subset of the training set and predicting on a validation set. Appending those predictions together, we ensure that the whole dataset has been seen but equally split amongst the models.
screenshot showing the train process of various models
100
Thomas Lefebvre @tlbvr.com · 27/07/2025
Victory!
Screenshot showing successful training jobs
000
Thomas Lefebvre @tlbvr.com · 25/07/2025
Friday night. Will this job pass before I pass out?
110
Thomas Lefebvre @tlbvr.com · 24/07/2025
I spawned two machines. Someone stops me.
000
Thomas Lefebvre @tlbvr.com · 23/07/2025
I live in the MLFlow dashboard these days. Let's see if `likeable-horse-161` performs better.
100
Thomas Lefebvre @tlbvr.com · 09/07/2025
I'm preparing a presentation for my team @unsplash.com to walk them through our recent progress in categorizing illustrations If you missed it, I wrote a blog post about it bsky.app/profile/tlbv...
000
Thomas Lefebvre @tlbvr.com · 23/06/2025
Making good progress. Here's a peek — Probably gonna take me another week or so.
Screenshot of the blog post I'm writing.
000
Thomas Lefebvre @tlbvr.com · 05/06/2025
It's going well I said.
120
Thomas Lefebvre @tlbvr.com · 05/06/2025
When your day is going well, very much know what needs to be done.
120
Thomas Lefebvre @tlbvr.com · 30/04/2025
I dont know how folks can even read news on their phone nowadays
Screenshot of my phone with ads everywhere
200
Thomas Lefebvre @tlbvr.com · 25/02/2025
I've been playing
020
Thomas Lefebvre @tlbvr.com · 22/02/2025
Saturday morning maintenance?
Screenshot of dependencies that need an upgrade
020
Thomas Lefebvre @tlbvr.com · 30/01/2025
Nice! I’m in the middle of this one. Will queue it up.
Book cover of “designing machine learning systems”
110
Thomas Lefebvre @tlbvr.com · 29/12/2024
Looks like I found a winner. nomic-embed-text yields a higher F score even when prioritizing precision over recall. Gonna clean up the notebook and write up a short post about this experiment. Learned a lot!
Screenshot of plot results for my experiment
000
Thomas Lefebvre @tlbvr.com · 28/12/2024
Post side project wind down.
010
Thomas Lefebvre @tlbvr.com · 27/12/2024
Then asked GPT to come up with the test cases given a sample of my data. The algorithm then picks an embedding model given the best F1 score across all test queries and models and recommends which one I should use and at which cosine similarity threshold.
Example of test casesPlotting the performance of each models
100
Thomas Lefebvre @tlbvr.com · 27/12/2024
Got myself a little framework to compare embedding models for retrieving similar restaurants given a search query. I'll make the github repo public soon.
Plotting F1 score across various embedding models
120
Thomas Lefebvre @tlbvr.com · 26/12/2024
I'm running tests against different embedding models and cosine similarity thresholds to find the most balanced combo for finding similar restaurants given their description and a search query.
Screenshot showing the results of my analysis
010
Thomas Lefebvre @tlbvr.com · 26/12/2024
My Christmas projects are in jeopardy.
Screenshot of open ai status page showing major outage
110
Thomas Lefebvre @tlbvr.com · 10/12/2024
FWIW the competition isn't that great either on that front. It's only free for repos on individual accounts, not organizations.
Screenshot of Github's rulesets.
100
Thomas Lefebvre @tlbvr.com · 09/12/2024
We have lift off.
Screenshot of the last remaining PR to upgrade to React Router v7
000
Thomas Lefebvre @tlbvr.com · 08/12/2024
Last future flag is in — next up: upgrading to v7.
Screenshot for the pull request that enables the last future flag.
100
Thomas Lefebvre @tlbvr.com · 07/12/2024
Preparing the move to React router v7. Fixes automatically our Date to string serialization issue.
Screenshot of the PR enabling single fetch
110
Thomas Lefebvre @tlbvr.com · 06/12/2024
Keeps on giving.
Screenshot of another error
000
Thomas Lefebvre @tlbvr.com · 06/12/2024
Friday, am I right.
Screenshot showing an internal server error
100
Thomas Lefebvre @tlbvr.com · 01/12/2024
I just got roasted. Here's what you need to know about me blueskyroast.com/roast/tlbvr....
Screenshot of my red flags
000
Thomas Lefebvre @tlbvr.com · 01/12/2024
This is really good. 😅
Screenshot of my bluesky generated roast
010
Thomas Lefebvre @tlbvr.com · 22/11/2024
*Should have added a screenshot*
Results showing how inpainting with a mask produces using stable diffusion.
000
Thomas Lefebvre @tlbvr.com · 17/11/2024
The solution was simple, actually. Just needed to take a break. No more type assertion :)
Screenshot of a better implemented of the idea stated in the previous tweet.
000
Thomas Lefebvre @tlbvr.com · 16/11/2024
Surely built by an LLM? ☠️
000
Thomas Lefebvre @tlbvr.com · 15/11/2024
This is what prime debugging looks like cc @oliverjash.me
Screenshot of code showing a ton of console logs
110
Thomas Lefebvre @tlbvr.com · 14/11/2024
Dont need AI when i’ve got a real copilot.
Photo of my and my car sitting at the desk
000
Thomas Lefebvre @tlbvr.com · 12/11/2024
Experimenting with custom routing using effect/Schema. I'll try to refine this to avoid the casting 🤔
Screenshot of a code implementation of a custom routing solutions using effect/Schema
110