Neural Network Learns to Generate Voice (RNN/LSTM)

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 1,8 тис.

  • @SomethingUnreal
    @SomethingUnreal  7 років тому +93

    Just to let people know, by popular demand, I've also uploaded a video where I do this with a male English voice! ua-cam.com/video/NG-LATBZNBs/v-deo.html

    • @SomethingUnreal
      @SomethingUnreal  7 років тому +1

      +Johnny Mccrum: I'm afraid not. I don't know enough to program my own from scratch, so I was using the open-source software "torch-rnn" (github.com/jcjohnson/torch-rnn/) here.

    • @postvideo97
      @postvideo97 7 років тому +2

      Practical RNN applications don't use 'homebrew' code, they always use some kind of GPU-accelerated library, such as Torch, Tensorflow, etc. There's no need to reinvent the wheel by coding the LSTM by youself (except for educational purposes, which is recommended as it teaches the fundamentals of BPTT). Any implementation of an LSTM RNN will be the same, except some differences in performance.

    • @postvideo97
      @postvideo97 7 років тому +3

      @SomethingUnreal You should try training the RNN with STFT (Short Time Fourier Transform) instead of raw audio data, it should perform much better at distinguishing words, as the NN won't need to care about generating the signal itself.

    • @SomethingUnreal
      @SomethingUnreal  7 років тому

      +postvideo975 If you can point me to an RNN that takes 2D input, thten sure. Otherwise, I'm stuck with torch-rnn, which is 1D. BTW, I actually did experiment with feeding a spectrogram (FFT powers) to torch-rnn, "raster scan"-style (All of first time slice, all of second time slice, etc, end-to-end), and made a program that handles the fact that torch-rnn won't produce perfectly-sized slices some of the time, and amazingly, torch-rnn was able to output something that resembled the voice, but it couldn't make a stable sound at all (each generated slice didn't connect neatly to the next slice). I don't think I can get better than that while using torch-rnn.

    • @thorn9382
      @thorn9382 6 років тому

      Wow youve been feeding your gan alot of hentai

  • @gafeht
    @gafeht 8 років тому +1970

    When your creation is screaming to be put out of its misery, maybe it's time to rethink what you're doing

    • @Alex-oz9eh
      @Alex-oz9eh 8 років тому +51

      ayy lmao

    • @top1percent424
      @top1percent424 7 років тому +15

      gafeht You took it to whole another level.

    • @yammie1536
      @yammie1536 7 років тому +2

      gafeht exactly my thought lol

    • @elk3407
      @elk3407 7 років тому +15

      Yah.....
      This video somewhat reminds me of Nina Tucker from FMA.
      If you dont know what im talking about, DONT look it up..... Its honestly kinda disturbing.

    • @TGRoko
      @TGRoko 7 років тому +34

      No no, it's "learning."

  • @hbaggg
    @hbaggg 8 років тому +2369

    well congrats
    you made a computer waifu

    • @username306
      @username306 8 років тому +18

      Skaterboybob made my day :^)

    • @maxalbert8943
      @maxalbert8943 8 років тому +23

      Paddy made my day a day after your day

    • @wavefireYT
      @wavefireYT 7 років тому +5

      UP

    • @AzureOnyxscore
      @AzureOnyxscore 7 років тому +16

      what next? a motorized fleshlight?

    • @oliverhilton6086
      @oliverhilton6086 7 років тому +33

      When you talk to your waifu and she replies with 30 seconds of "iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii"

  • @smiledogjgp
    @smiledogjgp 7 років тому +216

    Funny how it learns to laugh and scream, far before it may form words. Quite reminiscent of infant humanity.

    • @SuperGirl-eq1le
      @SuperGirl-eq1le 6 років тому +1

      Corpus Crewman ikr

    • @scarm_rune
      @scarm_rune 5 років тому +3

      this neural network defined the evolution of humans in a few mins

  • @TrekkerLLAP
    @TrekkerLLAP 7 років тому +469

    *screams in Japanese*

    • @Bugingas
      @Bugingas 7 років тому +17

      Minodrey あああああああああああああああああああああああああああああああああああああああああああ
      (A in hiragana)

    • @Cassiepult
      @Cassiepult 6 років тому +4

      What’s hanging boys? Underrated name and pic

    • @wigwagstudios2474
      @wigwagstudios2474 6 років тому +3

      あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ あああああああああああああああああああああああああああああああああああああああああああ

    • @fadingintogames8278
      @fadingintogames8278 6 років тому

      I am dying.

    • @Nully34rNoFake
      @Nully34rNoFake 5 років тому

      Uboa

  • @ChocolateMilkMage
    @ChocolateMilkMage 8 років тому +854

    Yes. One step closer to robot waifu A.I.
    Keep doing the good work soldier.

    • @mateuszbugaj799
      @mateuszbugaj799 8 років тому +118

      What a time to be alive!

    • @koreboredom4302
      @koreboredom4302 7 років тому +7

      Mateusz Bugaj No it is not. If you were, however, born in the future, you could probably fuck machines.

    • @oliverhilton6086
      @oliverhilton6086 7 років тому +1

      I'm thinking of kreiger from archer right now

    • @noblenoob913
      @noblenoob913 7 років тому +1

      ChocolateMilkMage I don't want a waifu, because now I ahve someone watching what I do and have to take care of her when she breaks down.

    • @sheeloesreallycool
      @sheeloesreallycool 4 роки тому

      Lynx Rapid so a waifu

  • @Spooglecraft
    @Spooglecraft 8 років тому +153

    AI learns to generate voice: First thing it does is scream.

  • @calebpeters2544
    @calebpeters2544 8 років тому +109

    5:52 I saw "weird glitch" and immediately thought it was gonna say something like, "EVEN NOW, THE EVIL SEED OF WHAT YOU'VE DONE GERMINATES WITHIN YOU."

  • @thechrisgrice
    @thechrisgrice 7 років тому +273

    Given the input on this was Japanese, I listened for some Japanese. I heard one phrase:
    7:45 - "Denki, hen ka?" meaning "Electricity... is it strange?"
    When it's an AI saying that, you bet it's strange.
    Then again, Japanese literally only needs it to accurately string 2 sounds together and you get words.

    • @user-ty6we2sp2m
      @user-ty6we2sp2m 7 років тому +48

      thechrisgrice she also says itai. (That means pain in Japanese)

    • @alex73217
      @alex73217 6 років тому +12

      It even laughed afterwards :D

    • @elliot_rat
      @elliot_rat 6 років тому +1

      Umitalia nyan yeah i think op knows that

    • @wigwagstudios2474
      @wigwagstudios2474 6 років тому +8

      アアアアアアアアアアアア

    • @josoup8291
      @josoup8291 4 роки тому

      Where

  • @Speedow
    @Speedow 8 років тому +94

    it's like listening to someone in pain while slowly going mad and accepting it.

  • @SkyrimTheBoss
    @SkyrimTheBoss 7 років тому +216

    40 seconds in and the AI is already screaming in pain.

  • @TDGalea
    @TDGalea 8 років тому +207

    It goes from screaming to laughing.
    Why are you torturing this poor thing?

    • @tbe7218
      @tbe7218 5 років тому +3

      Thomas Galea why would it be laughing though

    • @TheAmazingDoorknob
      @TheAmazingDoorknob 5 років тому +6

      @@tbe7218 insanity

    • @EtanMarlin
      @EtanMarlin 4 роки тому +5

      Nah it's a baby that is born screaming but the. Learns to laugh

  • @DAAI741
    @DAAI741 8 років тому +1310

    this is honesty terrifying

  • @MaxLebled
    @MaxLebled 8 років тому +319

    Good god, the 2k training iteration sounds like pained screaming

    • @Alex_Gol
      @Alex_Gol 8 років тому +16

      ( ͡° ͜つ ͡°)

    • @thepetrarcticwar2778
      @thepetrarcticwar2778 7 років тому +4

      yeah, it sometimes sounds like "HELP ME!"good grief, its nightamarish.

    • @kittenclaws5775
      @kittenclaws5775 6 років тому +3

      Like a newborn, perhaps?

    • @SuperGirl-eq1le
      @SuperGirl-eq1le 6 років тому

      Maxime Lebled 5k iterations are funnier

  • @EzraelVio
    @EzraelVio 7 років тому +113

    They can actually hire your computer to produce new Pokemon cry for the next gen Pokemon game

  • @KuraIthys
    @KuraIthys 8 років тому +382

    In some ways the early iterations sounds somewhat like the noises babies make...

    • @matthewlewiscomposer
      @matthewlewiscomposer 8 років тому +32

      KuraIthys | mind = blown

    • @TheRealOtakuEdits
      @TheRealOtakuEdits 8 років тому +8

      KuraIthys That's what I thought

    • @Fishy_Chameleon
      @Fishy_Chameleon 7 років тому +29

      welp we have just found the future of what robot babies sound like before learning speech when robots take over

    • @MrHornfox
      @MrHornfox 7 років тому +20

      EEEEEEEEEEEEEEEEEEEEOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO XD

    • @maggintons
      @maggintons 7 років тому +7

      Super fast turbo charged baby talk.

  • @TheLaXandro
    @TheLaXandro 8 років тому +156

    0:31 itai (pain)
    1:00 shine (die)
    I guess she really hated you for at least first 5k iterations if these were among her first words.

    • @jongyon7192p
      @jongyon7192p 6 років тому +9

      TheLaXandro did I hear "yame"? shit, just kill me

    • @kajwbidonajdowlem5013
      @kajwbidonajdowlem5013 6 років тому

      Lol true

    • @lollergsize763
      @lollergsize763 6 років тому +3

      At 15k iterations she started laughing, so... maybe she planned a revenge

  • @kaijupants9095
    @kaijupants9095 7 років тому +70

    This is what happens when you torture a vocaloid

  • @GoldphishAnimation
    @GoldphishAnimation 8 років тому +466

    oh fuuuuuuck no it started giggling
    that's creepy as hell

    • @Garganzuul
      @Garganzuul 8 років тому +59

      You think that's creepy? - There might be a skeleton inside you RIGHT NOW.

    • @GoldphishAnimation
      @GoldphishAnimation 8 років тому +33

      Garganzuul oh shit there is
      I gotta find a surgeon NOW.

    • @nozumihishimatchi1880
      @nozumihishimatchi1880 8 років тому +2

      The Stitch me to he messed up anime voice

    • @NoxUmbrae
      @NoxUmbrae 7 років тому +32

      If you take the point of view that your brain is what you call "you" it gets even creepier! YOU MIGHT BE INSIDE OF A SKELETON RIGHT NOW.

    • @NoxUmbrae
      @NoxUmbrae 7 років тому +5

      More like eat, shit and be a nuisance 24/7.

  • @grenadier42
    @grenadier42 8 років тому +150

    ANIME AI THROWS TEMPER TANTRUM, MORE AT 9

    • @achaemenid7394
      @achaemenid7394 8 років тому +1

      But isn't Anime Ai's bedtime 7?
      Exactly, hopefully we can get Anime Ai in bed by 9.
      Ah, I see.

  • @07actual
    @07actual 8 років тому +60

    You've successfully invented a very passable Kirby language. Use this newfound power wisely.

  • @KoltoxOfficialChanel
    @KoltoxOfficialChanel 7 років тому +52

    9:09 first time in history when a creation "intentionally" calls its creator a baka

  • @EdwardNavu
    @EdwardNavu 8 років тому +47

    An interesting case of neural network application, and an unintentional nightmare fuel, just to attempt to reenact voices in anime.

  • @curtiss5781
    @curtiss5781 8 років тому +43

    It cries just like a baby who doesn't know language yet either

  • @Gurren813
    @Gurren813 8 років тому +37

    Imagine bastion but instead of cute beeps, chirps, and whistles, it just makes garbled anime lines. "Kon NIIIIIIII ch wAAAAAAAAAAAAAAAA"

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +7

      +Gurren813 Consider yourself lucky that I don't have Overwatch, so I won't make that mod.

    • @wawan8759
      @wawan8759 6 років тому +1

      Im already tracer

    • @SlyHikari03
      @SlyHikari03 5 років тому

      Pls somebody make that a thing!

  • @propername4830
    @propername4830 7 років тому +194

    Local robot tries to understand anime

  • @EmmysVerySeriousVideos
    @EmmysVerySeriousVideos 8 років тому +569

    This shit is creepy, sounds like it's in pain and screaming like hell

  • @joekewl7539
    @joekewl7539 7 років тому +73

    Kizuna A.I. Prototype

  • @jorge28624
    @jorge28624 8 років тому +72

    Neural network-chan

  • @SweetHyunho
    @SweetHyunho 7 років тому +79

    Thanks, I had imagined what it would sound like. Now I have a pretty good idea. I wish somebody use a virtual piano to reproduce piano recordings, train a lot, and then let it improvise.

    • @SomethingUnreal
      @SomethingUnreal  7 років тому +3

      +SweetHyunho: Check Google's WaveNet project at their blog - they did this, and there are several samples there showing what it's output. The piano ones are near the bottom =)
      deepmind.com/blog/wavenet-generative-model-raw-audio/

    • @SweetHyunho
      @SweetHyunho 7 років тому

      Seen that already. That is sample-based. I'm talking about performing a virtual (or real) musical instrument. Perhaps we could simulate a set of virtual hands for extra human feeling!

    • @SomethingUnreal
      @SomethingUnreal  7 років тому

      What do you mean "sample-based"? It's trained on lots of speech the same as mine is. The fact that they had to fragment it is just because it's a CNN rather than an RNN (and because they wanted to label each phoneme)... The concatenative speech synth that they compare it to is just samples stitched together, but the CNN's output is a continuous stream based on what it learned.

    • @SweetHyunho
      @SweetHyunho 7 років тому

      Yes, what you said. Both WaveNet and your RNN directly outputs the wave without a virtual instrument. What I want to see is the network "hitting" the keys of the piano, or moving the virtual tongue and lips to speak, by controlling(outputting to) a separate simulator which will synthesize the sound itself. WaveNet contains the piano acoustics itself, cannot replace piano with organ or tweak it, but in my idea the network focuses on the structure of the music. That should enable looking much farther (near-sightedness = boring music). I guess AI musicians will start being really competitive once the history+planning window exceeds one minute.

    • @SomethingUnreal
      @SomethingUnreal  7 років тому +5

      Right, I understand. So in the case of speech, outputting something like the pitch, volume and the formant frequencies of the voice, which can then be fed to something like Praat to synthesize the sound. Yes, that would be very cool.

  • @Zenthex
    @Zenthex 8 років тому +291

    the worst part is that someone somewhere is making this program their waifu.

    • @darianthe2nd42
      @darianthe2nd42 8 років тому +129

      "... OOOOOOaAaAaA... AAAAAAA!"
      "That's so hot."

    • @thebirchwoodtree
      @thebirchwoodtree 7 років тому +40

      Deltinum *Slow fap* *

    • @ketmax2805
      @ketmax2805 6 років тому +1

      TheBirchWoodTree
      *slow nut*

  • @AshtonSnapp
    @AshtonSnapp 8 років тому +192

    So, give neural network Japanese anime girl, get gibberish. Perfect.

    • @magikarpusedsplash8881
      @magikarpusedsplash8881 8 років тому +4

      SnappGamez If you spoke Japanese, then it'd probably make more sense.

    • @AshtonSnapp
      @AshtonSnapp 8 років тому +5

      Magikarp Used Splash I tried learning once.
      I understand why it is considered a Category V language.

    • @magikarpusedsplash8881
      @magikarpusedsplash8881 8 років тому +1

      SnappGamez it's even more difficult (allegedly) to native English speakers.

    • @makeneko_s
      @makeneko_s 8 років тому +6

      SnappGamez by the way, the voice_sample is of a boy... the voice said *boku* [僕]which is the i/me used for boys... watashi[私]are for girls... so basically it's a trap...
      まぁー、俺も女の子の声だと思ったけどね

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +19

      +白金圭 Have you never heard a tomboyish girl say "boku"? Please look up the game on VNDB (ぴゅあぴゅあ) if you don't believe me.
      ひなたはあんまりお転婆なんかないけど。犬耳っ子だから…かな。
      ところで今スペルを確かめるために「犬耳っ子」をググったと、ひなたは検索結果の6番目だった。びっくりしたw

  • @matthiasengh7935
    @matthiasengh7935 8 років тому +8

    1 have a cool project, 2 take the most annoying training data imaginable, 3 witness carnage

  • @SleepyAdam
    @SleepyAdam 7 років тому +29

    This stuff scares me. It's adorable and terrifying at the same time.

    • @heartache5742
      @heartache5742 7 років тому +6

      Adam McKibben At 4:15 it gave up on its life

  • @Skelpolu
    @Skelpolu 8 років тому +22

    Please, do continue this and make more videos about it - it's incredibly intriguing, and I'd love to see what happens with different voice-actors. Male-japanese, and even some English ones would be awesome, despite not getting a single word out of them anyway - literally.

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +4

      I'm glad you like it! I will eventually be uploading one trained on my voice (which happens to be male and English), which I trained with the specific goal of getting recognisable words out of it.

    • @Skelpolu
      @Skelpolu 8 років тому +3

      You think that'd be possible? That would be amazing! By the way, as far as I understood from the video, the learning eventually flattens out and only adjusts minimal features (which, however, seem to affect our perception of the voice the most). Would increasing the amount epochs taught make a difference at all?

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +5

      Yes, the learning rate decreases over time to let things stabilise. I actually stopped it when I did because I wasn't noticing many changes (you can see that towards the end of the video, I'm skipping more results because there's nothing very different from previous results). Things would likely have continued to change a bit, but not much.
      Also, although the training loss ("error" in what it has learned) decreases roughly logarithmically, it doesn't get better forever. It eventually stops decreasing and becomes closer and closer to a flat line if you look at it on a graph (please check the link at the end of the video description for some pretty graphs of the losses over time =P). In other words, there is a limit to how much the network can learn, even if you could give it hours' worth of really good data.
      I think that the reason the results were sometimes still so different to each other at the end (even though the training loss had stopped decreasing) is because it was just tweaking a few detailed parameters in "random" ways (i.e. wasn't working towards a specific state) because it was not big enough to learn all details, compared to when it was learning the most important patterns. I could certainly be wrong, though. Another commenter did point out that I should sample from each checkpoint (iteration) more than once because they can produce wildly different results, but for technical reasons, I'm still not able to yet (I don't have access to the computer I trained it on, which trained using the GPU for speed; my computer can't train on the GPU, and the checkpoint files main by torch-rnn with GPU vs CPU training are different formats...).

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +3

      Update: I actually _can_ use these checkpoints on my computer! Although it takes 85 minutes to make a single output file (~27 seconds of audio), assuming it's not training at the same time. So I must've been confusing torch-rnn with something else (maybe char-rnn).

  • @Ys-wd2lh
    @Ys-wd2lh 8 років тому +176

    0:32 hentai sound track

    • @DAAI741
      @DAAI741 8 років тому +46

      AAAAAAAAAAAAAAAAAAAA

    • @joshualettink7582
      @joshualettink7582 7 років тому +6

      3 months late, but this made me laugh out loud for real haha

    • @sinistrolerta
      @sinistrolerta 7 років тому +11

      Dank Meme Sir, what the fuck kind of hentai are you watching? O_o

    • @rajatmond
      @rajatmond 7 років тому

      I'll watch what he's watching. Thanks!

    • @Ac3sdg
      @Ac3sdg 7 років тому

      「 OKAY 」 holy fuck i'm dead 😂

  • @sophiapinzon2765
    @sophiapinzon2765 8 років тому +13

    idk about you guys but the fact that the network would take a liking to random sounds in the beginning and use them all the time (example: eeeeeeeeeeeeeeeeeeee!!!!!) is super cute

  • @danpope3812
    @danpope3812 8 років тому +56

    Someone please write some translation closed captions. Please.

    • @ChucksSEADnDEAD
      @ChucksSEADnDEAD 8 років тому +7

      Dan Pope no actual words were spoken, apart from random chance. It's speaking gibberish.

    • @danpope3812
      @danpope3812 8 років тому +35

      Filipe Amaral
      I meant could someone with comedic talent have some fun with it.

    • @がに-k6n
      @がに-k6n 7 років тому +21

      "help, i am trapped inside the computer"

    • @renakunisaki
      @renakunisaki 7 років тому +39

      "AAAAAAAAAAHHHHHHHHHHH PLEASE KILL ME"

    • @mihau5083
      @mihau5083 7 років тому +22

      iiiiiiiiiiiiiiiiiiiiiiiiiiiiIIIIIIIIIIIiiiiiiiiiiiiiiiiiIIIIIIIIIiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

  • @Qualex14
    @Qualex14 8 років тому +282

    Next time you should use Morgan Freeman's voice

  • @creator-link
    @creator-link 2 роки тому +6

    Weird to see this before the great transformer boom that basically accelerated ai to just everything

  • @generico366
    @generico366 7 років тому +5

    "Alright, let's give a voice to this neural network and see what happens."
    *_continuous screams of agony_*

  • @delayed_control
    @delayed_control 8 років тому +85

    THE POWER OF CHRIST COMPELLS YOU

    • @nozumihishimatchi1880
      @nozumihishimatchi1880 8 років тому +1

      m4ti140 crist and scince is seperatef

    • @Dirtfire
      @Dirtfire 7 років тому +3

      I think he was just being funny, but yeah.

  • @andrewsauer2729
    @andrewsauer2729 8 років тому +106

    I FEEEEL FANTASTIC! HEY HEY HEEY!!

  • @MuzikBike
    @MuzikBike 8 років тому +12

    This sounds terrifyingly adorable.

  • @Phagocytosis
    @Phagocytosis 8 років тому +67

    I am in your target audience! Absolutely love this.

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +1

      +Vincent Oostelbos I'm glad! And you even made it through my unreasonably long wall of text in the video description!

    • @Phagocytosis
      @Phagocytosis 8 років тому

      I sure did. I also noticed at the end in the video, you had written "I'd still like to try training a bigger network with longer training data". Is that something you have done or are still planning on doing, and if so, is it something that will find its way to this channel at some point?

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +1

      +Vincent Oostelbos I've not done it with this voice yet. I recently tried training a 760x3 network on 27 minutes of audio but with a very different voice (often becomes very quiet), but I haven't got it to turn out as well as this yet. I've trained several (smaller ones) on my own voice, with the goal of having it output recognisable words, to varying degrees of success. I think they could be better if I recorded more training data, but it's very hard to keep the same way of speaking similar things for over 15 minutes (it's like my brain becomes numb and I can't even form the words anymore). I should make videos of the results anyway, though.

    • @Phagocytosis
      @Phagocytosis 8 років тому

      SomethingUnreal Have you tried just reading out a lengthy piece of text, like a book, as if you were creating an audiobook?
      Anyway, I'm looking forward to seeing the results of some of those projects you mentioned. Good luck!

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +4

      +Vincent Oostelbos I did that a few days ago, yes. Thank you!

  • @henryzhang3961
    @henryzhang3961 6 років тому +6

    0:21 killed
    0:28 being tickled
    1:19 boiling kettle
    1:25 some assembly required, etc
    1:49 riding roller coaster
    3:53 karate screaming

  • @Zahlenteufel1
    @Zahlenteufel1 8 років тому +95

    8:01 did it say "senpai"???

  • @Heliocentricity
    @Heliocentricity 4 роки тому +6

    7:30 Neural network anime girl learns to sing the 7 GRAND DAD/Flintstones theme

  • @ZiaSatazaki
    @ZiaSatazaki 8 років тому +18

    8:54 MANGO PUPPY ASYYYYLUUUUUM~

  • @sqoops8613
    @sqoops8613 7 років тому +11

    1:49 It has learned to express it's endless pain and suffering.

    • @Heliocentricity
      @Heliocentricity 4 роки тому

      baah baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaiiiiiii

  • @Noname_2014
    @Noname_2014 8 років тому +129

    Its interest. But the voice sound a bit creepy

    • @crristox
      @crristox 8 років тому +3

      Is cringy*

    • @MsHumanOfTheDecade
      @MsHumanOfTheDecade 8 років тому

      Why? Because anime is cringy? That is an odd verdict.

    • @crristox
      @crristox 8 років тому +2

      Dodeca Totally underrated, and original.

    • @ChrisD__
      @ChrisD__ 8 років тому +15

      It sounds horrifyingly uncanny.

  • @HeyItzMeDawg
    @HeyItzMeDawg 8 років тому +3

    Can just imagine the mad scientists' notes now:
    Training iteration #15000. AI has taken to giggling manically. Will continue to apply procedure and monitor results.
    Training iteration #19,000. AI now screaming regularly in response to training regimen. Not sure if the response is indicative of any developed sense of pain or fear.
    Training iteration #23,000. AI appears to have produced a wailing and/or crying effect. Hypothesis is that it believes the sound might affect the continuity or speed of the training regimen. Steps are being made to remove this misconception.
    Training iteration #25,000. AI now incorporating self-calming mechanisms following training regimen, typically in the form of "mmms" and "shushing" noises. Previous corrective steps appear to be successful.
    Training iteration #29,000. AI producing laughter despite a lack of relevant stimuli. Further investigation necessary.
    Training iteration #33,000. AI appears to be asking questions on a semi-regular basis. A risk assessment is being prepared and lockdown procedures are being reviewed in case of catastrophic scenarios.
    Training iteration #48,000. Recorded usage of the phrases "no more", "die", and "so many" in between bouts of giggling. Will investigate possible interpretations.
    Training iteration #54,000. AI exhibiting bipolar personality following latest training exercises, alternating between pleasant and hostile responses to the same trainer. The training regimen at the time was not designed to elicit either response.
    Training iteration #58,000. AI appears to have taken a liking to singing spontaneously. Training regimen is being adapted to correct this behavior.
    Training iteration #59,000. AI is now communicating almost entirely in song, in defiance of prior training regimen.

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +2

      +HeyItzMeDawg: Please make this into a book.

  • @ForgottenDawn
    @ForgottenDawn 7 років тому +21

    Yoko Ono's new album, ladies and gents.
    *kill me*

    • @bobalinx8762
      @bobalinx8762 6 років тому +1

      THIS is what killed the Beatles?

  • @__ten
    @__ten 3 роки тому +4

    4:55 AWW that little "pop" noise was so cute
    sounded like someone smacking their lips together or smth

  • @OnEiNsAnEmOtHeRfUcKa
    @OnEiNsAnEmOtHeRfUcKa 8 років тому +10

    1:58 So that's what a computer screaming sounds like.

  • @ulilulable
    @ulilulable 7 років тому +12

    3:05 "nani? kore? nani?" XD

  • @GroovingPict
    @GroovingPict 8 років тому +26

    "cute voice"... yeah, if by cute you mean intensely annoying

  • @justinslab2035
    @justinslab2035 7 років тому +32

    so that's what it sounds like when you put a chibi into a blender. xD

  • @bingbongshamalama
    @bingbongshamalama 8 років тому +5

    This is a mind-blowingly awesome outcome for this network. I had an idea similar to this a few years ago but never implemented it. This makes me wonder about how you could develop a set of learned words and string them together somehow. Not sure how to overcome how unnatural that would probably sound, though. Great stuff!

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +6

      Thank you! I was thinking something similar to that, but I have no idea how to program it. Something like manually transliterating the training data, then feeding it both the text and the audio so it associates a sound with each word - in other words how a particular voice pronounces text. Then, ultimately being able to give it text and have it read it in that voice. I believe some people are using the reverse of this for speech recognition.
      This would be much easier in a phonetic language like Japanese. Although that would make it all the more impressive if it learned the many rules of English pronunciation without the need for me to put some intermediate stage in where it converts text to/from something like IPA. I may be getting ahead of myself. =P

  • @curoamarsalus7822
    @curoamarsalus7822 8 років тому +14

    Hmm, I'm extremely curious to see how this would sound with a normal voice spoken in a decent range.

    • @OrchidAlloy
      @OrchidAlloy 8 років тому

      That is a good idea, excellent feedback, and a sick burn, all at the same time.

    • @curoamarsalus7822
      @curoamarsalus7822 8 років тому +6

      Well, I don't mean it to be a burn. It's just that this voice at that quality is physically painful to listen to (for me at least).

    • @hecko-yes
      @hecko-yes 8 років тому

      +Daniel T. Holtzclaw Look up WaveNet (if it doesn't find it, try "wavenet samples").

  • @mooshmash7678
    @mooshmash7678 7 років тому +13

    1:48 : *WAHH WEH*
    *wa **_WAAAAAAAAAAAAH_*
    *aHh*
    *WAH! **_WAAAH???_*
    *aH*

  • @columbus8myhw
    @columbus8myhw 8 років тому +28

    Jesus fucking Christ this is horrifying
    I half expected it to address me by name at the end

  • @rommix0
    @rommix0 Рік тому +1

    6 years later, and I almost forgot about this video. This was the start on my neural network journey. It's fun to look back on it.

  • @VenetinOfficial
    @VenetinOfficial Рік тому +6

    Had to come back to this video because i wanted to see just how far we've come since this.
    we have ai that can just fully convert yours (or anyone's) to anyone else's now AND in full 44.1kHz sample rate. kinda fucking stupid LOL

    • @rommix0
      @rommix0 Рік тому +1

      You know honestly, I'm more amazed at how creative people used to be with AI like this guy. Most people that really use it now are for classifications and chatbots mostly. I kinda wanna see something as bonkers as this in the deep learning community again.

  • @CorruptedMuse
    @CorruptedMuse 8 років тому +6

    It's like the audio equivalent of the uncanny valley

  • @nelsonnicholson6175
    @nelsonnicholson6175 Рік тому +5

    We've come a long way

  • @blazelega2985
    @blazelega2985 7 років тому +8

    5:47 my longest "IIIII" ever

  • @BSFilms1997
    @BSFilms1997 7 років тому +7

    @ 2:45 it says "Itai yo", which means "It hurts" in Japanese. This is scary...

  • @АлександрБагмутов
    @АлександрБагмутов 8 років тому +7

    Wow! This is really creepy! Imagine one day you tell to your robo maid to bring some tea, but instead of silently obeying as always, she just stares at you and trying to mimic human voice, creaks:
    "ihihi... waaaaaaaaa... na kiiil..."
    "ihihi."

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +1

      I'd just have to put her through some more "training".
      (Speaking of creepy)

  • @Lemonidas75
    @Lemonidas75 8 років тому +12

    Its like watching Skynet learning.

  • @sharkpaw
    @sharkpaw 4 роки тому +2

    idk anything about computers and IA but making a anime girl computer scream and a miku profile pic is enough to make me sub

  • @bigbox8992
    @bigbox8992 7 років тому +11

    To use a waifu voice is to play a dangerous game.

  • @yazuak
    @yazuak 8 років тому +5

    some of the more clear japanese i heard:
    7:24 "ota~ku no terai"
    7:27 "mina-sama"
    7:28 "sono fuinki"
    7:29 "sugoi wakuwaku"
    7:33 "zehi koto wo ---"
    7:44 "kiette tari, tenki"
    7:52 "jitei(??) koto yo~~"
    8:00 "--kouki(?) ni ike"
    8:11 it almost says ""hitotsu tano_sase(te)kureta(de)shou" which would be nearly actual japanese

  • @gabrieldumitru1984
    @gabrieldumitru1984 8 років тому +10

    At 7:07 it says pokemon

  • @htomerif
    @htomerif 8 років тому +43

    Mkay, a lot of people in the comments who know nothing about AI.
    So what was the "training" algorithm used here? That's the most important piece of information. I'm assuming the input and output were frequency domain samplings.

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +4

      +htomerif: The input and output were raw 8-bit PCM audio samples, each of which was fed into or out of the network as the activation of one of 256 nodes. The fact that it's in the time domain is the part that amazed me the most (the way it's able to find the repeating patterns over time). I'm not entirely sure what you mean by "training algorithm", but torch-rnn (the software I used here) uses backpropagation with the "Adam" (Adaptive Moment Estimation) optimizer. You can get more details on exactly how it works here by checking its project page, and especially the text files "train.lua" and "doc/flags.md", here: github.com/jcjohnson/torch-rnn/

    • @htomerif
      @htomerif 8 років тому +1

      SomethingUnreal Generally you have to have enhance/suppress condition for connections or live/die condition for individual nodes in a network. Like if you want a servomechanism and camera to follow a red ball, a training algorithm needs generally suppress connections more severely the further it is from the ball and enhance connections the closer it gets to a ball. So by "training algorithm", I mean "the thing that analyzes the input and output and decides whether the current network state is doing better or worse than the last network state."
      It looks like maybe the "criterion" in is what I'm talking about. Reading other people's code is one of my least favorite activities (no offense), but my best (most likely incorrect) guess is that its based solely on the cumulative numeric deviation from the original audio file?
      If that's the case then yeah, I would kind of expect the output to be some snips of time-synchronized copies of the input data repeated a lot.
      I know this is getting TL;DR, but it might be interesting to use frequency domain data (obviously you already know that), I've used FFTW3 for that general kind of thing and if Lua is your language of choice, I'm sure theres a an FFTW library with Lua hooks. Possibly quite a bit slower though if you were actually using Cuda though.

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +1

      +htomerif I was using CUDA (it improved speed by about 4x). I don't know the exact way the loss is calculated, but by my understanding, it's not calculated by comparing the network's predicted output to that of the main training set.
      The original file is split into a large training set and 2 smaller sets ("test" and "validation"). It appears to regularly compare the predicted output against the "test" set, and whether it's getting better or worse here influences the weights, which is why it doesn't generate perfect copies of the training set - it's never "seen" the test set before. If the original data is a short loop repeating many times, so that the same loop is repeated over and over in the training, test and validation sets, then all it does is perfectly memorise as long a sequence as it's possible to store in the network and blindly spit that out over and over.
      EDIT: I may have confused "test" and "validation". The usage of these according to torch-rnn's code and according to other posts I've seen seem to contradict each other, unless I've misunderstood something a lot...

    • @htomerif
      @htomerif 8 років тому +1

      SomethingUnreal I think I see what we're getting at here.
      So the network is fed a small test sample of the input, and then its output is compared with *what should have come next*. That is the bit I was calling the "training algorithm".
      I did notice that the code had 2 distinct states, a training state and a running state. So the training state is never fed the entire file, but the running state *is*, for purposes of the video.
      But yeah, the terminology is basically an instant pitfall as there's huge variation in what means what across the field of AI programming.
      Also, any or all of what I said up there could be wrong. I think I get the gist though.

    • @augustinushipponensis3021
      @augustinushipponensis3021 8 років тому

      Have you played it back more slowly? I think your algorithm was being too efficient. :)

  • @greenhound
    @greenhound 8 років тому +29

    2:17 is hilarious
    basically hentai audio

    • @obnoxendroblox8603
      @obnoxendroblox8603 6 років тому

      wtf is this what hentai is?

    • @i_am_boredom
      @i_am_boredom 4 роки тому

      . . .

    • @junkeyz
      @junkeyz 4 роки тому

      What kinda hentai are you watching where the girl goes "sshshshhyyyaAAAAAAAAAAAAOAOAOIIIIIOOO9X

    • @SlyHikari03
      @SlyHikari03 4 роки тому

      @@obnoxendroblox8603 she sounds like she’s getting electrocuted.

  • @VictorW23
    @VictorW23 8 років тому +1

    About 2:04 it starting to sound like a baby learning how to speak. Creepy, but still amazing

  • @Hurakion
    @Hurakion 8 років тому +3

    thanks to this video i now know how the WKCR Hijacking "demon voice" was created. its so similar to this

  • @vladislavdracula1763
    @vladislavdracula1763 8 років тому +15

    That was both amazing and disturbing...

  • @Teth47
    @Teth47 8 років тому +4

    It got pretty close given the limited training data. That's pretty impressive.

  • @porygonlover322
    @porygonlover322 8 років тому +27

    I'm almost certain it said "itai yo" (it hurts) at 12,000

    • @porygonlover322
      @porygonlover322 8 років тому +12

      59,000 ended with "masu" which is a way Japanese sentences actually end

    • @MilanKarakas
      @MilanKarakas 8 років тому +14

      Of course machine said "it hurts". What you will say if you are plugged at 240V AC as this machine did? :D LOL

    • @thetoontastictoon1720
      @thetoontastictoon1720 8 років тому +3

      Kzinssie (porygonlover322)
      very educational
      this must mean that in Puyo Puyo the "level start" sentence spoken by Arle must be saying "masu" and not "natsu" like I always thought-

    • @SomethingUnreal
      @SomethingUnreal  8 років тому +5

      +The Toontastic Toon: batan kyuuu!

    • @thetoontastictoon1720
      @thetoontastictoon1720 8 років тому

      SomethingUnreal xD

  • @Fuzzthefurr
    @Fuzzthefurr 7 років тому +10

    0:40 is what I hear whenever I try to watch anime.

  • @inswedishmynameisdik
    @inswedishmynameisdik 7 років тому +5

    never thought skynet would be kawaii

  • @satan2583
    @satan2583 4 роки тому +6

    2:49 sounds like “itai yo!” or “it hurts!”
    They say a computer can’t feel emotions.
    I’m pretty sure this is an exception.

  • @zephyr733
    @zephyr733 7 років тому +1

    Love how it's first reaction was basically screaming.

  • @maggintons
    @maggintons 7 років тому +6

    0:26 when you realise your dead and your memories have been uploaded into an AI program.

  • @SpanglesYT
    @SpanglesYT Рік тому +1

    This sounds so scary. It can be used for a cyber horror flick.

  • @fzero8821
    @fzero8821 8 років тому +8

    i just kept hearing shine shine

    • @fzero8821
      @fzero8821 8 років тому +1

      freaky neural networkn man

    • @ImDelphox
      @ImDelphox 8 років тому +2

      Fzero Fz Heard it trying to become a Pikachu several times later on ("pika" @ 7:54)

  • @liammckewic3218
    @liammckewic3218 5 років тому +2

    2:02 Waluigi goes "waa!"
    2:07 HALT! HAAAALT!
    3:53 HOOOLD UP!
    5:54 The Deadly Screech of Four. Has. Returned.

  • @mebamme
    @mebamme 8 років тому +6

    As amazing as this is, it's also really, *really* uncanny. I can't get through the first couple of minutes without pausing and taking a look behind me. ._.

  • @LivvyHackett
    @LivvyHackett 7 років тому +35

    What is it learning?
    Is it trying to copy the phrase? Or make its own sentences?

    • @SomethingUnreal
      @SomethingUnreal  7 років тому +53

      It's trying to learn how to make audio that sounds the same (without being able to simply store it). Or more technically, it's learning the probability of each of the 256 possible vertical waveform positions given all of the previous ones.

    • @LivvyHackett
      @LivvyHackett 7 років тому +6

      oh? sounds interesting

    • @BigOlSmellyFlashlight
      @BigOlSmellyFlashlight 6 років тому

      SomethingUnreal oh it's 8 bit

  • @WS-gw5ms
    @WS-gw5ms 8 років тому +37

    horrifying

  • @suwinkhamchaiwong8382
    @suwinkhamchaiwong8382 7 років тому +1

    7:13 *That moment when you play too much Pokemon,* You talk about it!

  • @LUCABALUCA
    @LUCABALUCA 8 років тому +27

    not my proudest fap

  • @zeicanofficial
    @zeicanofficial 5 років тому

    This is the first neural network video I've ever watched, amazing to see it again after one and a half years.

  • @mrmaniac3
    @mrmaniac3 7 років тому +19

    5:00 Kawaii

  • @supersungal2
    @supersungal2 6 років тому

    I can actively feel this thing making its way into my brain to give me nightmares but ITS SO GODDAMN INTERESTING

  • @honse246
    @honse246 8 років тому +11

    ONE STEP CLOSER TO 3D ROBO WAIFUS

  • @samwallaceart288
    @samwallaceart288 7 років тому +1

    Moaning Mirtle just possessed a housecat but she's so clumsy in that cat-body that she accidentally walked into an industrial air fan.

  • @23Scadu
    @23Scadu 8 років тому +3

    Good grief, that original voice is about as cute as a steaming dump.