Lurker News

Comments (211) 39 threads

Earlier comments
marze1 reply#
Is this proof that Lego is the best educational toy for creating engineers?

What about an initial bucket for pieces that are too close to be reliablely puffed? Maybe you already do that, I couldn't tell.
On the issue pressure drop from simultaneous puffs, if you add a buffer tank with a pressure regulator for every two puffers, you'd probably avoid that problem. Like the little capacitors that used to sit by every 74xx IC.

jacquesm1 reply#
There is a 'default' bucket (#7) to the side of the machine that catches everything that it does not pick out in that particular run.

The simpler solution was to just stagger the tubes a bit, that way all I needed to do was drill a few new holes. I see what you mean though, that's also a clever way but the 'feed' to the air valves is a single 6 way manifold that they bolt straight on to. It would be very hard to put a buffer between the manifold and the valves.

marze1 reply#
I see. So right now, if two pieces are too close together on the belt, they just go into the default bucket?

What is the limiting factor determining how many buckets you can operate with?
And I may have missed this detail, but you must perform a multi stage sort since you just have a few buckets? What is the level of the final sort, and what becomes of the parts at that time?

jacquesm3 replies#
> So right now, if two pieces are too close together on the belt, they just go into the default bucket?

Yep. But this fortunately does not happen often.
> What is the limiting factor determining how many buckets you can operate with?
Belt length, measurement precision during the stitching, cumulative errors in the math determining how far the belt has moved.
> And I may have missed this detail, but you must perform a multi stage sort since you just have a few buckets?
Yes.
> What is the level of the final sort, and what becomes of the parts at that time?
A single part category in multiple colors, or and that's the next level, all (or at least most) of the parts required to make 6 sets + remainder.
That final stage is a bit tricky, it also interfaces with a database that keeps track of the lot id of that set and what parts are still missing. I have most of the pieces for that second idea ready now but they are not yet tied together.

Continue this thread — 3 replies

froindt1 reply#
This is a really cool project and a nice writeup. What were the biggest lessons learned from a machine learning and computer vision standpoint?
jacquesm#
That feature engineering is mostly dead, that ML is now accessible even to noobs like me (thanks to http://course.fast.ai/ and other), that you don't need to build stuff like this in C or C++ any more to get decent speed.

The machine learning itself: models are hard to train, harder than you'd think at first glance, that you need a lot of data for training and if your particular application does not have any samples then you're going to have to come up with clever ways of making images because the quantities needed are not something you can just go and shoot by hand.
Also, that bootstrapping is a viable method, that way the machine does the hard part and you only have to correct, this takes the sting out of 90% or so of the work of labeling a dataset.

zitterbewegung1 reply#
Can you give more info about how you customized vgg 16? If you wanted to open source it you could call it legonet ?
jacquesm1 reply#
Yes, for one the weights are totally new, second I dropped a bunch of layers because vgg16 is way too powerful for this task. As I get into more kinds of parts I may have to put those back in though. Finally, I added dropout after the convolutional layers as well as after the fully connected layers, that seems to help a lot with the accuracy. All this was arrived at empirically, I don't know enough about neural net topology to go about that in a more analytical way but it does the job.

As for opensourcing it, yes, but then likely lego would have a trademark case so I would probably use another name. The whole thing would make for a pretty neat Kaggle competition.

doubleplusgood#
I think it should be named "the Brickolator" :)
Broken_Hippo#
This looks like it was much fun to build - and nice touch using Legos as part of the machine itself.

Load more comments