AI Learns to Play GeoGuessr

Поделиться
HTML-код
  • Опубликовано: 30 апр 2024
  • Code for all my videos is available at: github.com/sponsors/adumb-codes/
    #AI #ArtificialIntelligence #MachineLearning
    Learn more about convolutional neural networks and feature extraction: developers.google.com/machine...
    GeoWizard's video that inspired this project: • 10 seconds per round, ...
    0:00 Intro
    0:41 Design
    2:38 Training
    4:28 AI Plays GeoGuessr
    13:08 Summary
  • НаукаНаука

Комментарии • 808

  • @trwijbenga
    @trwijbenga 2 года назад +3587

    Now make the AI say "Get in!" after an insane guess

    • @2ky95
      @2ky95 2 года назад +40

      hahaha yes!

    • @ryleypalmer
      @ryleypalmer 2 года назад +335

      Make another ai to confirm every 10 mins that he is recording

    • @jakobroedl3769
      @jakobroedl3769 2 года назад +141

      @@ryleypalmer Manke another AI that narrates from "the future" if the real AI isn't recording

    • @EgaTehPro
      @EgaTehPro 2 года назад +5

      LMAOO

    • @jeffpape6519
      @jeffpape6519 2 года назад +12

      Lmao this made my day

  • @Roaxial
    @Roaxial 3 года назад +2813

    I think this would be interesting to see on country streak mode, since the guessing method in that mode is similar to how the AI works

    • @itzspiro6047
      @itzspiro6047 2 года назад +2

      Where do I know you from? Your name seems familiar

    • @NStripleseven
      @NStripleseven 2 года назад +2

      @@itzspiro6047 Do you watch Reid Captain?

    • @itzspiro6047
      @itzspiro6047 2 года назад

      @@NStripleseven yes sometimes

    • @NStripleseven
      @NStripleseven 2 года назад +4

      @@itzspiro6047 yea roaxial is a part of that community

    • @deivisony
      @deivisony 2 года назад +1

      @@NStripleseven I want to be a part of that community just because it looks gregarious, u guys know each other!

  • @adumb_codes
    @adumb_codes  2 года назад +1540

    Since this video has been getting a lot of views suddenly I figured I'd leave an update.
    Firstly, thank you to everyone for the overwhelmingly positive support on this video, I never expected it to get this many views. I really enjoy reading all of the comments and seeing everyone's suggestions / improvements that could be made to this project. The only thing I've done with this project in the past year is that I expanded it to work on the entire world and played some battle royale games with it. The results were interesting, I just never got around to making a video for it. I've wanted to set aside time to make more videos, and seeing the support on this video is definitely motivation to do so. Thanks to everyone who has subscribed in spite of the fact that I haven't uploaded in almost a year, I'm hoping to make more videos soon.
    Also, yeah I know the mic sucks in this video. I have a new one which should hopefully work better in the future.

    • @arcadeboy7503
      @arcadeboy7503 2 года назад +1

      First

    • @PhillipsOfficialMsc
      @PhillipsOfficialMsc 2 года назад +16

      Any chance you'll make your code available? I assume this is a tensorflow build?

    • @jacobcheadle9503
      @jacobcheadle9503 2 года назад +6

      Is there a tutorial for how you did this?, i'd love to do it but with a worldwide map but am unsure how I would get started with this

    • @austeyen5628
      @austeyen5628 2 года назад +9

      i personally would love to see a continuation of this video!!!!

    • @jacobcheadle9503
      @jacobcheadle9503 2 года назад +4

      @@austeyen5628 YES PLEASE

  • @connerlucas8277
    @connerlucas8277 2 года назад +1135

    "However, some of the best geoguesser players can guess the location with only a single image and a couple seconds. This makes me wonder-" me: this shit makes me wonder if they could doxx me just taking a picture of a gas station near by-

    • @imutig3451
      @imutig3451 2 года назад +354

      watch GeoWizard's series "guessing the exact locations of my fans using one single photo"
      his fans send him a photo of themselves and he tries to guess the exact location. it sometimes take 10 minutes, sometimes some hours, but he usually always gets it right..
      but yeah, their photos are rarely a random house or something, so it helps. but still !

    • @sarlol00
      @sarlol00 2 года назад +11

      Yep, most likely, it isn't actually that hard to do but requires some work.

    • @Standplaats_Krakow
      @Standplaats_Krakow 2 года назад +24

      We can. I've found people by the view from their window.

    • @imutig3451
      @imutig3451 2 года назад +5

      @@Standplaats_Krakow It depends though. Not all pictures are foundable.

    • @Standplaats_Krakow
      @Standplaats_Krakow 2 года назад +17

      @@imutig3451 True, but there's often way more info than people think.

  • @panmig
    @panmig 2 года назад +336

    RUclips algorithm chose you, congrats!

    • @Spoof10
      @Spoof10 2 года назад +7

      I smell some nepotism.

    • @samcousins3204
      @samcousins3204 2 года назад +12

      @@Spoof10 what????? lmaooo do you know what nepotism means??? you think this guy has a friend at youtube who gave him views???

    • @Spoof10
      @Spoof10 2 года назад +6

      @@samcousins3204 You enjoy your time on the ground, while the joke is cruising at 10000 ft above you.

    • @arandomcommenter6759
      @arandomcommenter6759 2 года назад +5

      @@Spoof10 or the more virgin way, R/Whooosh

    • @artisticyeti22
      @artisticyeti22 2 года назад

      @@Spoof10 wooosh

  • @happymations7166
    @happymations7166 2 года назад +722

    doing smaller countries could be interesting considering how a lot of the areas would look the same-ish it would be interesting to see how good the ai guesses the areas

    • @lederp42
      @lederp42 2 года назад +49

      It would also be interesting to see if the AI would teach itself to recognize flags or other tell-tale signs for countries (like how the street signs look n stuff)

    • @realdragon
      @realdragon 2 года назад +7

      Ireland

    • @RubyPiec
      @RubyPiec 2 года назад +9

      Vatican City

    • @TianyuQi
      @TianyuQi 2 года назад +2

      malta

    • @rohankishibe8259
      @rohankishibe8259 2 года назад +2

      Tunisia

  • @nikkzi2731
    @nikkzi2731 3 года назад +378

    Yo dude, really pog video, Ignoring the mic, I would've thought it was from a 100k+ subs youtuber

    • @Vedertesu
      @Vedertesu 3 года назад +7

      Me too, then I saw he had under 100 subs

    • @Quantum-Bullet
      @Quantum-Bullet 2 года назад +4

      Just need to scream nonsense while failing an easy video game: 1M subs.

  • @mathieu1870
    @mathieu1870 2 года назад +232

    Love this AI, well done! I may have a possible improvement. Averaging all cells to formulate your guess moves the average guess towards the middle, always. Your guess distribution will become guassian like with the center of the distribution being the middle. Example: the goal is washington, any contribution from any of the other states pulls the guess towards the center. The only way to guess an state on the edge of america correctly is when that is the only one having a probability. This is why your guesses are generally to far towards the center, not because of the pictures you've taken. I suspect that using the center of the max cell for a smaller grid has a better performance ceiling (if you would want to continue). Other than that great work and an inspiring video!

    • @1donjul
      @1donjul 2 года назад +20

      I was about to comment the exact same thing. You can also see that the prediction sometimes is in a box with a lower confidence score, even though there exists a box more to the edges of the map with a higher score. I assume this is caused by the same bias towards the middle of the map.

    • @i2gy27
      @i2gy27 2 года назад +3

      Another way to solve this is to include in learning set border parts of Canada and Mexico. When output is in the wrong country it will point to closest location in US, but probably it won't happen as you point out that it's always moving towards center. Problem is with states near ocean tho.

    • @zenith5180
      @zenith5180 2 года назад +11

      On top of that, this averaging also assumes that the distribution is a single gaussian. It's possible that an image depicts some part of the East Coast, but its features is similar to a region on the West Coast. The distribution is then disjoint, with the network predicting a high probability on both the East Coast and the West Coast, but averaging this distribution will incorrectly produce a guess at the center of the US.

    • @paulhoffmann297
      @paulhoffmann297 2 года назад +3

      @@zenith5180 well I think this argument is not as strong as one might first think, and I want to explain why:
      In such a case you suggest a good gest would be either east or west coast getting about a 50% chance to have either a good or a desasterous guess. The AI's guess would be bad in both cases but not desasterous, do you still have a 50% chance being better or worse than the AI's guess.
      Probably your strategy still is the better, but that is due to the reward function of Geoguessr, which I don't know anything about but probably decreases the reward points exponentially with distance from the target or sth. similar.
      Now imagine a different case, where you have this becomes even more trickier: you have 3 fields, each have the same likeliness of ⅓. These fields are disjoined and form a equilateral triangle. If you go full risk for one of these fields while the AI guesses for the center of the triangle, the AI has a better guess distance wise in ⅔ of the cases. What this means for the expected value of reward points depends even more on how Geoguessr's internal distance2target->points function.
      Therefore, I think the general idea of using not just the field with the highest likeliness but something, let's call it 'map awareness' is not wrong. However, a simple averaging is not the best idea, as explained in the previous comments.
      Personally, I think based on the AI's predicitions one could compute a final regularizes guess coordinate as the guess in a little bit more complicated way: one cross-relates the probability of a field with each of the other fields by considering also the distance between those fields. For example you have field A with a high likelihood and directly east of it field B, also with a high likelihood. This would be a clear cluster, and since the distance between the both fields is minimal the two high likelinesses would push each fields overall likeliness. If field A and B are from the east and west coast, the great distance between them would prevent, that they buff each others likelihood. And if field B has a not so high likelihood, it would buff the likelihood of field A just very weakly. Ofc, the likelihood values are not adding up to 1 anymore, that's why I'm not using the term probability here. However, the higher this value would be, the more likely is this region a good guess.
      I think that way, one would make improved guesses. Also, one can experiment if these values, likelihood and distance between different fields, should enter the problem just linearly or results improve, if the predicitions depend on these values in a squared/etc. fashion.

    • @jamiepayton1574
      @jamiepayton1574 2 года назад +1

      +

  • @madhatter5361
    @madhatter5361 2 года назад +223

    Have you considered placing the guess exclusively within the box the AI is most sure about, and then determining where you put the guess (still within that one box) based on the weighted average? Meaning the guess would always be in the most likely box. How do you think that would affect the results?

    • @joaopedrocandido9181
      @joaopedrocandido9181 2 года назад +90

      Guessing from the video results, I also had the impression that this would be more accurate. It seems that the unsure boxes are skewing the guess away from the predicted location. More so when the prediction is close to the edges of the country and there are a lot of unsure boxes to the other sides.

    • @T0ly113
      @T0ly113 2 года назад +18

      I'm also quite surprised that he didn't at least use a squared average or something

    • @ogust312
      @ogust312 Год назад +6

      My thought exactly. As soon as he announced his guess averaging technique I was skeptical of that being a good choice due to the nature of coastal areas looking similar...but being on opposite ends of the map.

  • @Freakmaster480
    @Freakmaster480 2 года назад +43

    This vid deserves much more attention. Good job on this.

  • @AintYourChannel
    @AintYourChannel 2 года назад +2

    Such a fascinating video, it would be really cool to see the updated version in action taking on the whole world! Take as much time as you need with your next video, me and many others are looking forwards to it 😅

  • @zednotdead
    @zednotdead 2 года назад +131

    So what I've learned is that 90% of America is dry, flat terrain with a road.

    • @shadowlord0162
      @shadowlord0162 2 года назад

      lmao

    • @jetblack5941
      @jetblack5941 2 года назад

      Similar to Poland with less greenery and more occasional mountains

    • @keithbarron9376
      @keithbarron9376 2 года назад +4

      Hahaha. The "official" United States map on Geoguessr is notoriously bad and those are the usual locations you get in the middle of nowhere. The "United States (no blurry)" map is so much better.

  • @jonocour
    @jonocour 2 года назад +12

    I love how this has just been shoved into the algorithm after nearly a year after publication

  • @MrEverdeenMCPvP
    @MrEverdeenMCPvP 2 года назад +38

    Since Google's Street View pictures are taken in a road, an improvement would be done if the prediction were moved to the nearest road in the direction of the highest confidence rectangle:)

    • @mst8819
      @mst8819 2 года назад

      I think with more training data the AI should figure that out sometime

    • @TheMoanraker
      @TheMoanraker 2 года назад +2

      @@mst8819 The AI will not learn to do so given enough time, in it's current setting anyway. It outputs confidence values for each of the boxes. The output of each box is just that, it won't be able to adjust towards roads just like in the animal example it will not suddenly output what part of an animal is in the picture, e.g. "ear of fox", unless you trained it that way in the first place

  • @edmon974
    @edmon974 2 года назад +39

    for the 7:30 one you should've used more of that mountain, probablly would result in a higher cofidence

  • @kestey1717
    @kestey1717 3 года назад +200

    Your newly 6th sub here. I'd love to see a new model perform on Geoguessr's earth map :D
    Btw how did you collect your image data from Google's streetview? What tool did you use?
    Also do you recommend any other books/courses on CNNs? Keep it up man!

    • @adumb_codes
      @adumb_codes  3 года назад +73

      Thanks for the sub!
      I collected all of the images using Google's Street View Static API developers.google.com/maps/documentation/streetview/overview and collected images from random latitudes and longitudes within the US.
      The resource I linked in the description developers.google.com/machine-learning/practica/image-classification is probably the best resource I found for understanding the fundamentals of CNNs and feature extraction. Its exercises are also pretty useful for seeing how to implement CNNs using TensorFlow. For this project in particular, the Keras Applications documentation keras.io/api/applications was useful for finding and using a pre-trained model for feature extraction.

    • @taric187
      @taric187 2 года назад +6

      Now this is wholesome

    • @okyanusozsahin3439
      @okyanusozsahin3439 2 года назад +1

      @@adumb_codes Thank you for sharing!

  • @devon1on
    @devon1on 2 года назад +1

    Wow, this is a really well made video! You seriously need more attention, this is awesome!

  • @purplenanite
    @purplenanite 2 года назад +167

    For world mode, trying to perform an "average" over the international dateline may prove to be difficult.
    But it would be so cool to see it done anyway!
    perhaps choose the center of the max probability box? is that better or worse?
    if you choose to go further and get more accurate, there is the problem of training data.
    If you can somehow make fine enough grids, you might be able to produce more accurate results, assuming more data
    also, if you take multiple photos of the same area, you could possibly get a better idea of the place - like take a few photos, then get the average of the outputs or something.
    i love it !!!

    • @jakobm.4183
      @jakobm.4183 2 года назад +5

      There is some mathematics ionvolved in picking the avertage of a set of points on a sphere. In particular, it is not necessarily unique. Think for example of the mean of the north and south pole, every point at the equator is equally reasonable as a mean, anyway the average of two opposite points does not make that much sense. A way around this problem would be first picking the continent which is most likely and then taking the average over this landmass, islands would still be a problem. So a better solution is to just take a region around the box with the highest probability and consider only boxes lying in that region. Also the shape of the boxes is not square anymore, so we should multiply the weight by the size of the box.
      The problem of training data can be adressed by automatization. Google street view should provide a suitable interface that can be used to automatically choose a random spot and generate some pictures. Using multiple pictures would have a great potential for improvement.

    • @LilithLuz2
      @LilithLuz2 2 года назад +1

      maybe some kind of repeated grid patterns in finer detail with the center of the most confident box would work well

    • @jakobm.4183
      @jakobm.4183 2 года назад +2

      That's difficult, because what we train here is an image classifier and therefore we need predefined classes (our boxes) before (!) we start training. Since we want to use the same AI for each location we need the same boxes everywhere.

    • @purplenanite
      @purplenanite 2 года назад +2

      @@jakobm.4183 for a sphere, you could take the coordinates of a sphere, then turn them into a vector from the center of earth and average that - but since not all grid spaces are going to be used (for example, oceans), then there's going to be an implicit bias. Your method is likely better.

    • @LilithLuz2
      @LilithLuz2 2 года назад +1

      im sorry if this is dumb but couldnt you just use a slightly incorrect mapping? there would be bias towards some areas but you could just use a flat map of the earth then relate that point to the same point on the sphere

  • @Matin_M
    @Matin_M 2 года назад

    Congrats on your video blowing up! Nicely done.

  • @ekuLsemaN
    @ekuLsemaN 2 года назад

    Please make more videos on this, this is amazing. Im sure people like Geo, jack, etc would even be on board to help too, so cool!

  • @desertdweller9003
    @desertdweller9003 2 года назад

    This was really well done, I hope you do more like this

  • @82ndreason
    @82ndreason 2 года назад +7

    this is the most perfect video I will probably see this year

  • @mattthetechguy5057
    @mattthetechguy5057 3 года назад

    This is like one of the only videos I can find on someone creating an AI for GeoGuessr. I've had this similar idea ever since I first discovered GeoGuessr a few years back. Very cool stuff! Now I'm tempted to try doing this.

  • @Fridged
    @Fridged 2 года назад

    This was an awesome video, keep up the work man

  • @yalendael
    @yalendael 2 года назад

    Loved the video and really surprised by how well the AI did with so little information! Judging by the comments your video seems to be gaining some traction, that's well deserved ! Hoping more people see this !

  • @NorteXGame
    @NorteXGame 2 года назад

    Great job my dude! I thought it was close to impossible to code an AI for GeoGuessr and yet you did it in a surprisingly straightforward fashion. I respect people who code AI and Neural Network stuff since I couldn't do that myself...

  • @mertsahin1312
    @mertsahin1312 2 года назад

    I love the idea of this video. Seeing the AI guess in the world map would be interesting. You got yourself another sub :)

  • @BoomerangVillage
    @BoomerangVillage 2 года назад

    Super cool project! I can't wait to see what you do with it next, should you decide to continue. Once you get the average bias problem sorted out, it looks like you'll have a really powerful tool. With more training, the program could be used for so many applications. Well done!

  • @ujai5271
    @ujai5271 2 года назад +3

    Your video might just blow up. I randomly got it in my feed today, and I'm sure I'm not the only one.

    • @marrowyoutube
      @marrowyoutube 2 года назад

      yeah I predict it'll get 100k - 1m views, give it a few weeks or days

  • @ichotolot9616
    @ichotolot9616 2 года назад

    That’s so cool! Would love to see more in that direction

  • @zuzhifreezone4851
    @zuzhifreezone4851 2 года назад

    Love this type of content, keep it up!

  • @insidejokes1840
    @insidejokes1840 2 года назад

    i never realised your sub count untill the end of the video, good stuff keep it up

  • @balkoth3762
    @balkoth3762 2 года назад

    I got this video recommended today.
    I do not regret it
    Fantastic content

  • @Poiuytster
    @Poiuytster 2 года назад +11

    Oh wow, this was super interesting! I think the AI could definitely give GeoWizard a run for his money at his own no moving allowed 10-state challenge format. Maybe reach out to Tom and see if he's up for a head-to-head game?

  • @lokidoki3439
    @lokidoki3439 2 года назад +13

    don't worry those re-captchas will now never be click the sign questions. thank you adumb

    • @chairger
      @chairger 2 года назад +1

      the hero we didnt deserve

    • @RubyPiec
      @RubyPiec 2 года назад

      Unironically though: those recaptchas actually have grain added to them to confuse the AI, its some very specific grain too.

    • @lokidoki3439
      @lokidoki3439 2 года назад

      @@RubyPiec Good, good... as long as the humans are ahead of the AI then I am all for back to captchas.

  • @stellapratt4304
    @stellapratt4304 2 года назад +9

    This seems really cool. You could do it again with more training data and maybe smaller squares.

  • @LoreleiBlaine
    @LoreleiBlaine 2 года назад +104

    it seems to me like using a weighted average of the various patches is maybe making a mistake? for an example of the sort of mistake that would encourage, imagine an image that is definitely inside a city, but you're not sure which city among a few candidates. averaging the longitude and latitude of each city quite possibly gives you some location in the middle of a field far away from anything urban. depending on the geogueser scoring system this is maybe still a score optimizing strategy, going for consistent but low score over a high risk but very high score if you actually get the city right? but it's just a question you've got me chewing on a bit, now, i suppose.

    • @wouterlvv
      @wouterlvv 2 года назад +45

      I had a similar thought, but for a different reason. Using averaging will negatively impact locations near the borders, since it can only average it away from the border. Would be interested to see how a "naive" AI (center of most probable square) would compare. Still a good video though!

    • @TheMinigato
      @TheMinigato 2 года назад +4

      I think the same. Average can't be used with terrain. Pictures of the coast would average to the middle of the country. Sides of a mountainous region would average to the mountainous region.

    • @9nikolai
      @9nikolai 2 года назад +4

      Using weighted average does make it statistically better than the average, though. Seeing as the lowest score possible would be to choose a point on the coast when the correct location is on the opposite coast, this possibility is eliminated when the AI will only choose a point closer to the center. Therefore, even when the AI is wrong, the way the point is calculated will still give it a better score on average.
      In conclusion, using a weighted average is a msitake because it's sorta like cheating, and makes it hard to see if the AI is actually doing well.

    • @MrBlinis
      @MrBlinis 2 года назад

      And won't using this average method having a result always in the 8 middle squares ?

    • @roosb.967
      @roosb.967 2 года назад

      Very interesting conversation here! I think you all bring up reasonable points. Which method is preferred also depends on how the score in geoguessr is calculated.
      Take the opposite coast example: if the distance from the middle to one coast is too far to let geoguessr give you any points, you might as well make a guess between one of the two coasts and have a 50% chance for a lot it points, instead of 0% chance at any points when taking the average.
      What I keep thinking of is that fact that this question should actually be optimized *by the AI itself*. If you could train it based on the actual score it would get in a game, that would be awesome. Not sure how that would work technically, but from a theoretical view it would be really interesting!

  • @jickhertz4124
    @jickhertz4124 2 года назад +1

    Really impressive stuff! Perhaps could you share more about your code? Like how long it took you, some snippets, and even share it! Loved the vid! Congrats on the great AI performance!

  • @RamkrishanYT
    @RamkrishanYT 2 года назад

    Great video CodeBullet, big fan since last 3 years

  • @gonehorsegames1225
    @gonehorsegames1225 2 года назад +75

    This is really cool. You could make the AI much more accurate by somehow plugging it into GeoGuesser, and letting it navigate the environment until it found an image/view which it could match at a very high confidence. I'm not sure how easy that would be unless GeoGuesser has an API, though .

    • @ginters5389
      @ginters5389 2 года назад +5

      I'm guessing they don't have an API that can do it for that exact reason lol. You could use google maps API but afaik that costs money.

    • @matthewbadger8685
      @matthewbadger8685 2 года назад +14

      Just feed the ai like 50 images where ur navigating the environment, then u can create a weighted average of it's guesses for them.

    • @prav2568
      @prav2568 2 года назад +1

      @@matthewbadger8685 Well yeah but how many pictures would you need for that ._.

    • @chippyconqueror
      @chippyconqueror 2 года назад +17

      @@prav2568 50

    • @prav2568
      @prav2568 2 года назад

      @@chippyconqueror bruh i Don't know about Geosquare but as I assume it includes a whole lot of area , you would need more than that

  • @dimitrivonrutte9220
    @dimitrivonrutte9220 3 года назад

    Really cool stuff man! Keep it up, the algorithm will notice I'm sure!
    I'm curious whether you can get an improved version working on the whole world.

  • @tylercrabby
    @tylercrabby 2 года назад

    It's pretty cool to see a video about some really complex AI. it's even cooler when the Geoguesser chooses a spot right in front of your old house at 12:43 and you can see what your house looked like 8 years ago. Those trees outside are long gone now. Very cool!

  • @mariebrown4966
    @mariebrown4966 2 года назад

    This is great. I want to see the ai play a diverse world map, country streaks, and if there is there a way to make the ai more accurate. Thanks for the nice video!

  • @JackieAych
    @JackieAych 2 года назад

    Hey mate! Nice video it was very well made.

  • @KiwazaCZ
    @KiwazaCZ 2 года назад +2

    It would be really interesting to see this done for the Urban World map, also Europe. Great vIdeo!

  • @JanBargeman
    @JanBargeman 2 года назад

    Very nicely done!

  • @lkiu405
    @lkiu405 2 года назад

    I didn't realise that this is a 245 subscribers channel, it is over 1m subscriber quality! keep it up (I subbed :) )

  • @rumilb
    @rumilb 2 года назад

    dope. thanks for sharing!

  • @pennywise69
    @pennywise69 2 года назад +1

    Loved this video

  • @dieter2889
    @dieter2889 2 года назад

    Great vid mate

  • @Melv1ns
    @Melv1ns 2 года назад

    Would love to see more! Ai really impress me

  • @obikenobiscoby9102
    @obikenobiscoby9102 2 года назад +1

    This video is phenomenal!

  • @cappyyyyy
    @cappyyyyy 2 года назад

    This is such a well-made video.

  • @claxxz1
    @claxxz1 2 года назад

    This is very interesting, glad that the algorithm has chosen you, so maybe we can see what happend in world map

  • @michaelc3650
    @michaelc3650 2 года назад +1

    Amazing video!

  • @PythonPlusPlus
    @PythonPlusPlus 2 года назад +29

    Can you make deep dreams for each of the states? It would be cool to see how the network thinks each state looks.

  • @indubitablylee4688
    @indubitablylee4688 3 года назад +9

    Really cool. You could create one for the new battle royale mode where you just need to guess the correct country. Could use road markings and road signs for the training data.

  • @sasparan7639
    @sasparan7639 2 года назад

    Yoo this is awesome thx for the video

  • @purdueswag123
    @purdueswag123 2 года назад +1

    Great video! I think it would be interesting to retry this with a different output. You are doing multi-class classification and then weighting the outputs. Rather than making it a classification problem, you could make it a regression problem and directly predict latitude and longitude. Then make the loss the sum of the mean squared errors over both the lattitude and longitude. That would remove the “centralizing” bias you’re getting from weighting.

  • @michaelrawson9100
    @michaelrawson9100 2 года назад +1

    Really interesting - have another new sub! A few random thoughts that occur to me on this.
    "Extremising" the probability outputs might help improve the fit on the edges of the map in particular. For example, square the probabilities (then normalise) to skew the prediction towards higher confidence levels.
    For an all world system you'll probably have to drop or at least modify the averaging approach, as others have said. Maybe it picks the continent first?
    How did you choose the size of your boxes? Obviously smaller boxes would allow a finer prediction but it's more work to train.
    Given that human players can move around, perhaps you could give the AI more than 1 photo to base its prediction on.

  • @Lennli
    @Lennli 2 года назад

    great video! with the algorithm blowing it up now, i think its time to try this again for a country streak or state streak game!

  • @matthewmason7616
    @matthewmason7616 2 года назад +1

    Hey as an avid Geoguessr fan and a Data Science student I loved this vid! I always joke to my friends about building an algo that could play for us but I never put any actual thought into it, but here you are haha. Although is there any way I could see your code; as a more in-depth and specific analysis of development would be really fun and interesting. Also, I'm sure it's been commented but using this classifier on country streak would be a lot of fun. Maybe that is something you could attempt.

  • @ZenithCoding
    @ZenithCoding 2 года назад

    Awesome project!

  • @ldarda6
    @ldarda6 2 года назад

    RUclips gods are not wrong again :) very nice presentation man and looking for the follow up video

  • @noAbbreviation
    @noAbbreviation 2 года назад +4

    From what I'm seeing, the AI's most confident guess on where the location is is quite accurate, opposed to the weigthed average calculation of the AI's guesses that you are doing.

  • @MegaGreatgreg
    @MegaGreatgreg 2 года назад +1

    Comment for the algorithm great job! Actually maybe you could double the weight of the boxes at the edge of the map as its very good at getting central boxes but slightly struggles at getting coastal boxes? Great work though!

  • @mdrzn
    @mdrzn 2 года назад +8

    1:39 annoying but I have to point it out: a 360x340 geometric shape is not a square but a rectangle lol

  • @MMT--Games
    @MMT--Games 2 года назад +1

    Yess, finally im early to see a underrated channel that is probably gonna grow so fast before it has 10k subs. Todays date is 03/08/2021, time is 16:37 and this channel 6,37k subscribers. This video has 416k wiews and the channel has only 2 videos. Other video has 95k wiews. im sure this channel is gonna earn at least 140k subs in the next 2 weeks. if he keeps uploading videos, this channel probably would be a lot bigger. Love your videos! Please keep uploading :)

  • @rasmusmerten9840
    @rasmusmerten9840 Год назад

    Cool project! I would be interested in how you acquired the data. I think you most definitely did in an automated fashion.

  • @Alex_MB
    @Alex_MB 2 года назад

    very informative video, thanks

  • @danielballer9043
    @danielballer9043 2 года назад

    You are insane, this is underrated

  • @procrastination2204
    @procrastination2204 2 года назад

    This is a really neat idea! I think I had about the same score as the AI so that is cool

  • @knicklichtjedi
    @knicklichtjedi Год назад

    Nice simplification of the classification task!
    I think a simple improvement could be, that the final prediction must always be inside the highest probability cell, but the precise position is moved by the weighted average.

  • @iron_5953
    @iron_5953 3 года назад

    Great Video!

  • @-N0PE-
    @-N0PE- 3 года назад

    Great Video, subbed :)

  • @lonelyPorterCH
    @lonelyPorterCH 2 года назад

    Crazy how good this works :D

  • @Shephard_
    @Shephard_ 2 года назад

    you should try this with the entire world. i reckon the results will be better as the margin for error is slightly bigger. great video though i'll turn my notifications on for your next one/

  • @zi8gzag
    @zi8gzag 2 года назад

    Great video!

  • @addiosnia
    @addiosnia 2 года назад

    good job on this!

  • @williamn3070
    @williamn3070 2 года назад +6

    Great video. I would love to see it guess for the world map!!

  • @sethdesilva
    @sethdesilva 2 года назад +14

    this is an incredibly high quality video. ive set up a lawn chair, should be here for a while

  • @AugustoCabrera
    @AugustoCabrera 2 года назад

    Amazing video! I hope you create more content like this, I always wanted to create a GeoGuessr bot 😅😅

  • @anonymus6267
    @anonymus6267 2 года назад

    This is great!

  • @thijswieman2116
    @thijswieman2116 2 года назад

    This channel is a hidden diamond :D

  • @theYoutubeHandle
    @theYoutubeHandle Год назад +1

    I think you can make the boxes smaller, use more training images. Then take 3 screenshots per location. Make AI predict per screenshot, and use the 3 predictions to triangulate.

  • @andryushenko98
    @andryushenko98 2 года назад

    Some suggestions:
    1. About pushing to the center, you can tweak weighted average algorithm giving it weight in power (eg instead of 0.5, give it 0.5^2=0.25). It will keep resulted dot closer to darker areas
    2. Write script that will automatically parse geogessr page, predict location and answer using script. This will make everything easier for you
    3. Give AI whole 360 image instead of small part of it, it will give it more data that AI can work on
    4. Play with size of boxes, it is possible that smaller squares could get better results
    And thanks for the video, it was interesting to watch!

  • @PaulCouchon
    @PaulCouchon 2 года назад

    Nice vid bro

  • @callanjerel
    @callanjerel 2 года назад

    I think that a good idea to help optimize the results would be to add major landmarks. Like add recognizable mountain structures or make sure that coasts are always on the coast. Also, maybe being able to cut out the sky so that the AI only bases its guesses off of the land, instead of the particular weather in the area at the time you trained it. Those are my suggestions, can't wait to see a new vid

  • @hugobackman7890
    @hugobackman7890 2 года назад +1

    If it's a linear relationship between distance and points, then the best way is weighted average. But that is not true (more something like 5000e-^(x/2000). Another point would increase the expected number of points, that point one can derive from the score to distance formula.

  • @matejnovosad9152
    @matejnovosad9152 2 года назад

    Very nice and structured video. As I do ML myself, I see how much effort went into this. Keep doing stuff like this! Maybe you could do Reinforcement learning for Rocket League next? There is an enviroment already done. Hmu if interested.

  • @kaaplive
    @kaaplive 2 года назад

    I loved this video!

  • @JackCollard
    @JackCollard 2 года назад

    Great video! I was wondering, (aside from the no moving, no scrolling/panning challenge) you could give your AI more data by providing multiple images from moving or looking around the location; e.g. would be interesting to see if the AI score increases when the average location is taken from 5-10 images of the location - the average human score is based on humans often viewing miles of images before they find a useful bit of information! Can;t wait to follow more efforts of your channel. Subbed.

  • @Zymonn
    @Zymonn 2 года назад

    underrated channel / video

  • @gabrielv.4358
    @gabrielv.4358 Год назад

    Amazing!

  • @ryangreene50
    @ryangreene50 2 года назад

    Really interesting stuff.

  • @alexejanimation
    @alexejanimation 2 года назад

    Really cool!

  • @cyberus15
    @cyberus15 3 года назад +8

    Now that Geoguessr has a U.S Streak mode, you should try it again :)

  • @fluytzzik9394
    @fluytzzik9394 2 года назад +1

    the end was cool :)

  • @generalguilmon6719
    @generalguilmon6719 2 года назад +10

    That was a fun video! I thought there was no way for the AI to get anywhere close, but those scores are impressive. Maybe you could try different AI learning methods and compare them to see which is more accurate?

  • @lynnlo
    @lynnlo 2 года назад

    Amazing work, your videos are now being recommended.
    I personally think your data set is a bit too low with only 4000 + another thousand presumably for testing. But the model seems to work wonderfully and that's what matters.