A.I. Learns to HERD SHEEP
Вставка
- Опубліковано 9 вер 2024
- In this video, I build and train a neural network that can herd sheep. The simulated sheep use a boid algorithm to recreate the flocking behavior seen in nature. I encountered a lot of challenges along the way but in the end, it worked great. I learned a lot while doing this project and I hope you enjoyed the video!
SmarterEveryDay Video:
• I Didn't know Birds us...
Sheep Flocking video:
• Mesmerising Mass Sheep...
Contact Me:
michaelrechtinyt@gmail.com
As an actual shepherd, I can confirm that keeping sheep near the fence is the easiest way to herd them. It essentially limits the number of undesirable directions the sheep could choose.
I was really impressed with how realistic this sheep model is given the simplicity of the model itself! It was really cool to see the dog perform the "cutting" behavior (when the dog isolates a few sheep away from the rest of the herd). Great job!
Easily the coolest comment I've ever received. Thanks!
@@michaelrechtin I stumbled across this video because I'm working on a farming simulator. I'd like to implement herding behavior, but it's a super tricky problem. I'm almost convinced that machine learning will be the easiest option.
Any chance you'd be interested in a collab?
Shoot me an email. There is an address on the about page
@@michaelrechtin I love seeing cool things happening on the internet!
One problem with that doggie though is that it was shoving them into the fence quite forcefully which can lead to a broken fence but overall its really good!!
Michael Rechtin Industries is about to take off and herd up the competition.
Add a time score modifier so that it heards them diagonally.
Nice work! Music at the end was super loud haha. Sim should probably be adjusted so the boids can also move randomly so the sheep dog doesn't just learn pre-programmed moves to get the highest score and can react to sheep being naughty. Should also penalize the sheepdog significantly if it loses any sheep in the flock.
The missing factor for your three lost lambs is the man with the whistle... the element that has complete overview of task progress and success.
Yeah, u just lost 3 sheep baad dog xD i suggest (and i am by no mean an expert) that you add a criterion about the number of sheep in the desired region.
If you want advanced features ins this game. You can model rivers and "dangerous" regions (by negative numbers perhaps ?) The dog should first save the sheep who might be in danger then guide the rest of them.
Nice simulation though you inspired me to do the same xD.
This is a great idea!
When code bullet doesn't upload 😂
Scotland and New Zealand (many Scottish early settlers) have sheep dog trials as a sport. Years ago the competitions were shown on TV. It's amazing that tens of thousands of "normal" people tuned in every week to watch a man with a stick and a dog be made to look like a total idiot by a few brainless four-legged fluffballs! :o)
Perhaps it's time for a digital rerun?
Great video, thanks.
Huh. This is Neat!
Maybe you could add a timer that'll give the position score a multiplier? And maybe disqualify unherd sheep scenarios. Nice.
Great vid!
Cool stuff!
Well explained and fascinating. "So anyway, I just programmed up some artificial intelligence". What? Until now I was confident that I'm actually pretty smart. RN I feel dumb as bricks. Yeah, good job. Fucks sake...
is it powwible to get the code yout writen?
But it missed 3 sheeps. I want my money back >=(