I cannot stress how much I am learning in these 5min. Thought I have to slow down the video to understand but this clears this over all high level concept of the problem !! Make more of these !!!! Waiting :D
@SirajRaval8 жыл бұрын
Thanks Pranav, I will slow down a little bit next time, will do!
@meisterhubert7 жыл бұрын
This is the best youtube-channel i have ever found. How did you not enslave the world with your skills yet?
@SirajRaval7 жыл бұрын
thanks! im trying to enable you guys to do that! lol
@TheCypherwars8 жыл бұрын
How does this video not get a GAZILLION views is beyond me! The more I think about the idea of machine learning the more it fascinates me. Man you are onto something here. keep up the good work. People may have a problem with the PACE of the video here. Personally I think it is satisfactory and absolutely fine, You shouldn't have to slow down for anybody when you are in the MODE! :)
@raji08xd686 жыл бұрын
At 3:25 the image used for demonstration for pooling layer is Max Pool : )
@kcimc8 жыл бұрын
These videos are incredibly entertaining, well written & edited, but sometimes technically incorrect. In this one I noticed two things: 1. tensors are not meant to reduce computational complexity 2. content vs style is not about high vs low layers, but exact weight reconstruction vs gram matrix reconstruction (though I can see how the diagram in the paper would be confusing at first, cause style at higher layers sometimes captures "content-like" features).
@SirajRaval8 жыл бұрын
Thanks for the comment Kyle! This is a great, really readable paper on tensors that I like www.cs.cornell.edu/cv/TenWork/FinalReport.pdf . You are right that tensors are good for a lot of different things, but to me the most intuitive pro for a beginner is that it has comparatively reduced computational complexity to very high dimensional data structures. There is indeed more to content vs style than just layers, but at a high level that is exactly what google mentioned was the case for DeepDream. It's gradient ascent process that tries to maximize the L2 norm of activations of a particular DNN layer, the higher the layer the more content based the art
@_JS968 жыл бұрын
That smile at the beginning, love it.
@SirajRaval8 жыл бұрын
;) ;) ;)
@wisentgenus8 жыл бұрын
Your videos are very high quality. People be sleeping on your content
@SirajRaval8 жыл бұрын
Thanks a lot, I'll keep releasing them
@ekaterinavalinakova26438 жыл бұрын
I really look forward to the future of Neural Network Art. Btw you just got another subscriber :)
@SirajRaval8 жыл бұрын
Hell yeah, awesome! Thanks!!
@a199058 жыл бұрын
another one
@Keroec8 жыл бұрын
I love your artistic style of neural nets, Siraj! Except few things to comment about hyper-parameters details, it's so much fun that I'm looking forward to the next one! Let's make enough videos so that I can train my own model on your videos and get an embedding of Siraj' style ;-)
@SirajRaval8 жыл бұрын
Thanks Sebastian :) That's a good idea, will be fun to make
@Frankthegravelrider8 жыл бұрын
amazing video as usual old sport. keep it up, learning so much. maybe a short video on ML, neural net basics, to get the audience on board from the basics.
@SirajRaval8 жыл бұрын
Thanks! Yeah I might just do a whole other ML series after this based just on theory/concepts
@AndrewMelnychuk0seen8 жыл бұрын
Wow thank you so much for doing this. This is a huge interest of mine. Please please keep on making more of these videos.
@SirajRaval8 жыл бұрын
Thanks Andrew! I will keep going, thanks for inspiring me
@AndrewMelnychuk0seen8 жыл бұрын
Do you have a public Bitcoin address I can donate too?
@SirajRaval8 жыл бұрын
Wow, thanks a lot! I do, it's 1KpdvNhbvVoxaSY4hncC1j9jCr3kY2bUcr
@decreer45677 жыл бұрын
Although it's cool that you could do that. The thing is there isn't really a need to automate that ,since art is simply expressing your emotions. The whole point of automation is to allow people to go pursue and do their hobbies ,while a emotionless machine does the dirty work for them.
@if_it_pleases_the_council8 жыл бұрын
Awesome work, don't give up.
@SirajRaval8 жыл бұрын
Thanks, much love
@AntonyEvansGP8 жыл бұрын
This is an awesome video, well done!
@SirajRaval8 жыл бұрын
Thanks Antony!
@AndrewPrice27048 жыл бұрын
Awesome! Keep it up! A lot of value packed into a short time :)
@SirajRaval8 жыл бұрын
Thanks a lot, will do!
@MarcJSchmidt8 жыл бұрын
FYI: 3:25 visualisation at the right shows a MaxPooling2D layer, not a AveragePooling2D as used in the code. Cool video tho, as usual :)
@SirajRaval8 жыл бұрын
Thanks for the correction!
@Mirandorl7 жыл бұрын
What is the reasoning behind the doubling of layer depth for each block? As in at 3:57 it goes 64, 128, 256? What advantage does this have over say, making them all the same?
@DrPepperment8 жыл бұрын
love the videos, keep em coming
@SirajRaval8 жыл бұрын
You got it :)
@honotiro8 жыл бұрын
Hey Siraj, great video! I was wondering would you be able to make a video that would help to understand some ML fundamentals such as what is a neurons or neural network, etc. for newbies like me?
@SirajRaval8 жыл бұрын
Thanks! Sure thing here is one kzbin.info/www/bejne/nmTPZaSwbJt9nrM
@PhilippUnterreiner8 жыл бұрын
So right now the AI is learning and applying a human-created style of painting to any given content. But is there a way to make the AI create an original style / or to create original content / or both? This would be the necessary next step to make those AIs truly creative.
@SirajRaval8 жыл бұрын
Yes there is a way. Think about how we paint things that are novel. We use everything we've ever felt and learned and make a novel connections between data points in our head. How do replicate this programmatically? We're not sure yet, but its def possible because we are proof!!
@BlooFlame7 жыл бұрын
HOW DOES THIS GUY NOT HAVE MORE VIEW!?!?!?!?!
@neil74938 жыл бұрын
Dude this is awesome. You got a new subscriber!
@SirajRaval8 жыл бұрын
hell yeah, thanks!
@smarch.18 жыл бұрын
Awesome material. Thank you.
@SirajRaval8 жыл бұрын
Thanks for watching!
@anupamyedida54848 жыл бұрын
Awesome Video bro ! I love seeing your videos :)
@SirajRaval8 жыл бұрын
Thanks man, I'll keep em coming :)
@TheDreamFx7 жыл бұрын
Thank you very much for this and all of your videos! :)
@shiyamsundar65658 жыл бұрын
love your videos !! your videos help me a lot !! please keep em coming !!
@SirajRaval8 жыл бұрын
I'm so glad they help! Thanks! I will keep em coming
@lkd9827 жыл бұрын
How do you manage to make so many great memes? That is the true value proposition ;)
@sakaress8 жыл бұрын
Love your work. Keep making! :)
@SirajRaval8 жыл бұрын
Thanks a lot!
@deepakranganathan96448 жыл бұрын
Exception: Layer weight shape (3, 3, 512, 64) not compatible with provided weight shape (64, 3, 3, 3) I am getting this error. Please tell me where the problem is. Is it with the image files or the VGGfile or keras library.?
@Throwingness8 жыл бұрын
Same problem. Leaving this comment in order to be notified of a comment here w/ a solution.
@SirajRaval8 жыл бұрын
try this repo instead github.com/anishathalye/neural-style
@Throwingness8 жыл бұрын
I got your repo and this new one to work by doing everything in a conda environment. I think I was getting this error cause the dependancies and TF were installed and uninstalled too many times. Also python2.7 and 3.5 could have been confusing things for the algorithm. Maybe it's own little space keeps things clean and obvious for the ones and zeros.
@deepakranganathan96448 жыл бұрын
Did you get the new repo correctly or the old repo which was using keras and theano ?
@Throwingness8 жыл бұрын
I got it working by using Virtualvenv and up to date Xcode & command line tools
@DrC0re8 жыл бұрын
Good vids man! subscribed! Could you also add some sidetrack video's about "simple" stuff like how to actually make the program read a data set of images for example. or another example from a previous video about the AI for playing games, do you just give it a "location\spaceinvaders.exe" arg to boot up the game? and how do you automatically restart the game every time it fails? this basic stuff gets me stuck and because it's apparently so simple for experienced coders it's also not documented very well in my opinion.
@SirajRaval8 жыл бұрын
Thanks! Yeah I have so many videos to make on the details, I'm going hard and fast on the high-level stuff right now but i'm moving towards more detailed things soon. The program boots up the game and it restarts itself whenever it fails.
@ka65958 жыл бұрын
Hey Siraj, could you please make a video on google's syntax net and use cases for that
@SirajRaval8 жыл бұрын
dude that's a great idea. i will actually do that. Thanks for the suggestion!
@ka65958 жыл бұрын
Sirajology 👍
@sundar176178 жыл бұрын
great work siraj .
@SirajRaval8 жыл бұрын
Thanks Sundar :)
@squeeesh8 жыл бұрын
What does "epoch" mean in the context used on your github page? "For a 400x400 gram matrix, each epoch takes approximately 11-13 seconds..." Thank you!!
@SirajRaval8 жыл бұрын
great link here stats.stackexchange.com/questions/117919/what-are-the-differences-between-epoch-batch-and-minibatch
@ConnorWidtfeldt8 жыл бұрын
I don't believe you have any errors. You are a programming wizard...
@SirajRaval8 жыл бұрын
Thank you!!
@lorikmucolli24967 жыл бұрын
not really a wizard, just uses other people's code and makes a video about it, all the repos have a referral link at the end which leads to the original content, give credit to the original creators in the video
@ED-TwoZeroNine8 жыл бұрын
Nice video, thanks. How long have you been programming for?
@SirajRaval8 жыл бұрын
Thanks! Hmm. 11 years on and off.
@LoboBRT8 жыл бұрын
Hey raj, whats the name of that video using deepdream? Btw, love your videos, keep the good vibe :D
@SirajRaval8 жыл бұрын
the app is called artisto
@LoboBRT8 жыл бұрын
Thks man, keep the good work, you are awesome!!!
@joncamo8 жыл бұрын
Which method can you propose me, to learn quicker and understand the fundamental, i am getting started in python programmation
@nynom8 жыл бұрын
Thanks man!! your videos are awesome keep up the good work
@SirajRaval8 жыл бұрын
thanks so much :)
@nynom8 жыл бұрын
Sirajology can you please do a video on training a speech recognition system on tensorflow
@avinashvenkatesh47918 жыл бұрын
Awesome Video! Subscribed!
@SirajRaval8 жыл бұрын
woot thank you!!
@tautologicalnickname8 жыл бұрын
Hi great video! Loved the music at the very beginning, can I have the name of the song please? peace!
@SirajRaval8 жыл бұрын
Thanks! Power, by Kanye West. But specifically the power clip from his movie Runaway
@tautologicalnickname8 жыл бұрын
thanks
@hamburgmalte8 жыл бұрын
sorry for the following question! I tried to run it on my machine. unfortunately without success. Quite a newbie not using python so far. is there a possibility that u could add the dependencies to some kind of installation file? i have this problem when running Network.py "Traceback (most recent call last): File "Network.py", line 1, in from scipy.misc import imread, imresize, imsave ImportError: cannot import name imread" even thoug scipy seems to be installed. Sorry again for bothering. And thanks for the great video
@SirajRaval8 жыл бұрын
no worries. run 'sudo pip install Pillow==2.6.0 '
@hamburgmalte8 жыл бұрын
great, thanks!! - ill try it out at the weekend, look forward to it. thanks again!
@kaiwang29247 жыл бұрын
0:05: Does it looks like what it looks like?
@andreas91098 жыл бұрын
Could this also be done with Tensorflow?
@graczmisiek41317 жыл бұрын
probably, but it's good to keep competition alive before Google will enslave us all with their ex-Boston Dynamics' robots running on scripts using Tensorflow
@jannoszczyk51327 жыл бұрын
no competition here, Keras is just a Tensorflow interface
@Throwingness8 жыл бұрын
I love the word concatenated!
@SirajRaval8 жыл бұрын
isn't it really nice? i use it outside of CS too
@deepakranganathan96448 жыл бұрын
Traceback (most recent call last): File "Network.py", line 237, in load_weights(weights_path, model) File "Network.py", line 63, in load_weights model.layers[k].set_weights(weights) File "/home/sabretooth/anaconda2/lib/python2.7/site-packages/keras/engine/topology.py", line 889, in set_weights 'provided weight shape ' + str(w.shape)) Exception: Layer weight shape (3, 3, 512, 64) not compatible with provided weight shape (64, 3, 3, 3) I am facing this problem. Please give me any suggestions.. Thanks in advance.
@Throwingness8 жыл бұрын
Same problem. Leaving this comment in order to be notified of a comment here w/ a solution.
Thanks a lot Mehmet Aydin Baytas. Your link is running, but do you have any idea of how long the program might be stuck in iteration 1? Because its been 15 mins since i ran the program and it is still in iteration1 only
@deepakranganathan96448 жыл бұрын
The code on execution is stuck in iteration 1 only after 1 hour also and it takes 100% of CPU resource. Please Help. Im running it on a CPU only and not GPU
@deepakranganathan96448 жыл бұрын
The code on execution is stuck in iteration 1 only after 1 hour also and it takes 100% of CPU resource. Please Help. Im running it on a CPU only and not GPU
@AviPars8 жыл бұрын
I love your videos. how did you learn AI
@SirajRaval8 жыл бұрын
thanks! lots of internet sources
@SaikatBasak8 жыл бұрын
How do I determine how accurately does this setup separates content from style? If I am to develop something similar is there a way to quantify the accuracy of the setup?
@SirajRaval8 жыл бұрын
Hmm thats a great question. Because 'content' and 'style' exist as neural abstractions in our network, it's not as intuitive to quantify them. For now it's mostly done by looking it over with the naked eye, but more research is needed to figure out how to quantify each
@SaikatBasak8 жыл бұрын
+Sirajology thanks for the reply and keep making videos. Love your channel.
@jamesbiswas53508 жыл бұрын
Thank you for sharing your knowledge with noobs
@SirajRaval8 жыл бұрын
yo anytime thanks for watching!
@JaredScheib8 жыл бұрын
Love it! Please create an AI to compute a new facial hair style for each week's video :)
@SirajRaval8 жыл бұрын
Hey Jared :) Thanks man, that's the plan
@ayy_tee8 жыл бұрын
Dope. I love your vids
@SirajRaval8 жыл бұрын
Thanks Andy!
@deepakranganathan96448 жыл бұрын
The code on execution is stuck in iteration 1 only after 1 hour also and it takes 100% of CPU resource. Please Help. Im running it on a CPU only and not GPU.
@SirajRaval8 жыл бұрын
try this repo github.com/anishathalye/neural-style
@GaetanAlmela7 жыл бұрын
Hey Siraj, I'm getting an error saying the tuple index is out of range what should I do?
@deepakranganathan96448 жыл бұрын
Hi, Im getting attribute error in Zeropadding2D layer. It says that there is no function called set_input for ZeroPadding2D layer. Please Help!
@SirajRaval8 жыл бұрын
try this repo instead github.com/anishathalye/neural-style
@deepakranganathan96448 жыл бұрын
Sirajology thanks .. there were some library issues .. its resolved now !!
@adityasarvaiya93397 жыл бұрын
bro your content is intimidating but we can barely follow your tutorials. it's kind of very fast. I suggest you must do long video with quite more explanation about how code is actually working. you have the best knowledge about machine learning hence we expect a lot from you in upcoming future. thanks.
@zakarkak7 жыл бұрын
What does the preprocess_image function do or where can I find an implementation for it? I am unable to find this function
@eshanpandey28247 жыл бұрын
Man!! You are awesome!!
@26medias8 жыл бұрын
Cool video! You have a new subscriber!
@SirajRaval8 жыл бұрын
Thanks!!
@PranavReddytv8 жыл бұрын
Holy Shit! This is awesome.
@SirajRaval8 жыл бұрын
You're awesome and thanks
@kalanimurakami11018 жыл бұрын
Is there a easy way to run this? Confused on how to run this with virtualenv or on the desktop. Please help lol
@SirajRaval8 жыл бұрын
try this blog.gruffdavies.com/2015/11/29/make-your-own-ai-art-with-deep-neural-networks/
@joemiria28508 жыл бұрын
Real badass dude
@SirajRaval8 жыл бұрын
Thanks Joe :)
@balajisundarrajan96848 жыл бұрын
How do I start on ML ? Siraj , please help me out .
@SirajRaval8 жыл бұрын
Follow along my 'Build a Neural Net in 4 Minutes' tutorial video
8 жыл бұрын
Men you are the best
@SirajRaval8 жыл бұрын
Thanks Brian :)
@aneeshbabu91836 жыл бұрын
great video :)
@bitcode_8 жыл бұрын
Do you use AI to answer every comment?
@SirajRaval8 жыл бұрын
i wish i could sometimes but nope. its all me. i usually take an hour to answer every single comment on monday. don't know how long i can keep that up as the channel grows but i'm super committed to it. :)
@bitcode_8 жыл бұрын
+Sirajology lol cool stuff thou, thanks for the videos, the topics are useful and interesting
@MrKmake8 жыл бұрын
Where i can find an vgg file?
@MrKmake8 жыл бұрын
Compatible with the training model layers?
@SirajRaval8 жыл бұрын
thanks for pointing that out, i added it to the description, heres the link as well drive.google.com/file/d/0Bz7KyqmuGsilT0J5dmRCM0ROVHc/view?usp=sharing
@pramit.sawant7 жыл бұрын
why don't you stick with a single library... You have a different python library in every video..
@gammaian8 жыл бұрын
Amazing videos, I love this series! Anyone tried to execute this program in windows? I have some problems getting the arguments right :/
@SirajRaval8 жыл бұрын
Thanks Gian!
@Skythedragon8 жыл бұрын
the building at 0:40 has a very er, exceptional shape...
@SirajRaval8 жыл бұрын
lol yup
@gabemcguire24638 жыл бұрын
So... Prisma?
@SirajRaval8 жыл бұрын
this video was released before prisma. i sometimes wonder if the authors of prisma were inspired by this vid. i hope so. #dreams
@gabemcguire24638 жыл бұрын
Sirajology Either way, this is really cool. Keep up the good work!
@evanperrygiblin7 жыл бұрын
deepdream was just the tip of the icebergin ML, and that google is probably hoarding a ton of more useful code.
@prajaktatamse70106 жыл бұрын
Please do help with stepwise explanations, these videos are good but if you do explain in detail will be more helpful for the beginners, thanks for such informative videos.
@samzumcommenten8 жыл бұрын
I know that 5 minute videos are most popular on youtube, but please ... can barely follow. They are only usable for an entertaining showcase to have an overview, but they don´t function as tutorials.
@SirajRaval8 жыл бұрын
will get better thx
@knightwalkr7 жыл бұрын
Siraj Raval maybe go back and do a 30-40 minute "class" on your more popular short videos.
@prtysh7 жыл бұрын
i agree
@terraset39888 жыл бұрын
This is definitely going to depress artists who spent most of their lives honing a skill that is now soon to be worthless because it can be learned and then reproduced in a fraction of the time by a machine. However at the same time it can free those artists from the relatively boring task of actually drawing and instead focus on the idea they wanted to get on paper in the first place instead
@SirajRaval8 жыл бұрын
Terraset, great point. It can help augment artistic capability, democratize the field so more people can become artists.
@terraset39888 жыл бұрын
Art is already as democratized as it can possibly be. All it takes is time and effort. There is a movement in the art community to discourage young artists from buying into the scam that is university art degrees because the people who go into them either come out no better off or waste their money being told by a prejudiced instructor that their preferred medium or style isn't "real." An aspiring artists improvement will never come from anything other than their own hard work. An AI won't change that because an AI at the moment can only copy what it is fed. It would still be up to an artist to develop their own skills and style first so they could feed that into the machine to reproduce images in the exact way they want them to look. And even then it likely won't be perfect. I do however expect a fresh new wave of wannabes posting machine generated "art" on the internet claiming that it's theirs and acting like they're super skilled for it.
@Zeegoner8 жыл бұрын
+Terraset Art is not as democratized as it can possibly be. If that were true, we would be able to think and have our art appear instantaneously, without any arbitrary skill acting as a middleman.
@terraset39888 жыл бұрын
That has nothing to do with democratization of art. there will always be a skill involved even if that skill is merely an indepth understanding of what it is you are rendering. If you told a computer to generate an image of Paris and then proudly showed it to me I would not call you an artist for it. You didn't do any of the work so why should you get any of the credit? At best what you'd be holding is a commisioned piece from a computer. A computer will never be able to do more than copy because just like people it can only work with the knowledge it has. It can't see what you see and thus can't render exactly what you would render. Thus it can never be your art, only its. The democratization argument only works if you mean something like "easier access to nice looking things."
@omaraziz958 жыл бұрын
It's an interesting video but you really talk too fast
@SirajRaval8 жыл бұрын
good point thanks
@baiget948 жыл бұрын
youtube has an option to see the video in a slower speed