I tried to build a ML Text to Image App with Stable Diffusion in 15 Minutes

  Рет қаралды 125,626

Nicholas Renotte

Nicholas Renotte

Күн бұрын

Пікірлер: 339
@pon1
@pon1 2 жыл бұрын
I've wanted to make a Stable Diffusion UI ever since the model became public, but didn't know where to start as I'm not used to Python, but now you've given me a great start! Thanks!
@rohitchan007
@rohitchan007 2 жыл бұрын
Hey Nick. You're my favourite KZbinr of all time. Thank you so much for sharing your knowledge with us. I have learnt so much from you.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Oh that means a ton to hear @Rohit! I'm so glad you're enjoying it!
@Quantumvp
@Quantumvp 2 жыл бұрын
@@NicholasRenotte Hi Nick I have tried to complete the project but when i get to the end and ready to deploy I get this raise EnvironmentError( OSError: There was a specific connection error when trying to load CompVis/stable-diffusion-v1-4: (Request ID: eYm7eENfp-7CbfSsEEf53)..
@atunraseayomide2504
@atunraseayomide2504 2 жыл бұрын
You have to be my best youtuber yet. You push me to do more daily, you are an inspiration Nicholas !!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
That means a ton @Atunrase!! Keep at it!!
@atunraseayomide2504
@atunraseayomide2504 2 жыл бұрын
@@NicholasRenotte 😁💯💯
@anirbanpatra3017
@anirbanpatra3017 2 жыл бұрын
Is there a way to deploy this project??
@NoahElRhandour
@NoahElRhandour 2 жыл бұрын
wow thats an awesome idea for a video !!! PS: you are a really great youtuber i enjoy your content a lot
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thank you so much @Noah!!
@einsteinsboi
@einsteinsboi 2 жыл бұрын
Woohooo! You did it!!! AMAZING!! Super impressive work Nick!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
WE MADE IT MARY!!!! 😂😂
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Code it here team: github.com/nicknochnack/StableDiffusionApp
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
@@ShineSincere check the github repo, I updated it to include the file. You just need to get your token from Hugging Face hub
@varunvijaywargi5497
@varunvijaywargi5497 2 жыл бұрын
Hey Nicholas, I have been away from AI since almost a year now but this video is sort of pushing me to start looking back into it. Awesome one mate !! Let us catch up for a coffee some day in city.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
VARUN! Hell yes, whenever you're ready let's do it!
@jacob4316
@jacob4316 2 жыл бұрын
@@NicholasRenotte What city is that? I'd like to link up and discuss a business opportunity. I need a good dev!
@youdontknow8729
@youdontknow8729 2 жыл бұрын
BRO I HAVE FOUND DIAMOND WHILE I WAS SEARCHING FOR GOLD ---- THANK YOU FOR THE GREAT CONTENT
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Ohhhhhh man, thank you soooooo much!!
@patricklynch6871
@patricklynch6871 2 жыл бұрын
Awesome work as always, Nich!
@fustigate8933
@fustigate8933 2 жыл бұрын
Thanks for looking into this particular field!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Anytime @Fustigate!! glad you enjoyed it!
@anikethhebbar6438
@anikethhebbar6438 Жыл бұрын
In this episode, a text-to-image generation app using stable diffusion and P kinter is built with a 15 minute time limit. Dependencies are imported and an app is created. ✦ Build a text-to-image generation app using Stable Diffusion and P kinter 00:00 ✦ Create a UI using stable diffusion pipeline and tkinter 02:06 ✦ Creating a placeholder for an image and a button 04:27 ✦ Creating a generate function and configuring text for a button 06:40 ✦ Setting up and using a GPU for image generation 09:06 ✦ Working on GPU for space trip landing. 11:16 ✦ Generating text with deep learning models 13:58 ✦ Create and save 3D images with open source software. 16:54
@rakeshkumarrout2629
@rakeshkumarrout2629 2 жыл бұрын
hey nick thank you for bringing content like these .This is really so helpful .How to learn everything about diffusion models.How it works.tech behind it and how it works.make a small diffusion model from scartch.
@aimanifest
@aimanifest 2 жыл бұрын
I absolutely love your videos my friend. You’ll be absolutely BLOWN away at the implementation this AI can achieve. My page has over 10 animations created with SD, and if you’re not interested, just check out all the other pages that use SD to create animations. What a world we live in. Truly insane!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Sweet!!
@PrabhuKiranKonda
@PrabhuKiranKonda 2 жыл бұрын
Woah!! That's incredible. Great as always.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thanks a mil @Prabhu!
@yusufhenry9365
@yusufhenry9365 2 жыл бұрын
Bravo Brave coach!! Some of us might be needing a slow step by step explanation, so as to be on the same page
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
🙏 🙏 🙏 will probably do a walkthrough on a live stream!
@yusufhenry9365
@yusufhenry9365 2 жыл бұрын
@@NicholasRenotte that would be much appreciated by the community Thank you Sir!
@yusufhenry9365
@yusufhenry9365 2 жыл бұрын
@@NicholasRenotte that would be much appreciated by the community Thank you Sir!
@egemenaksu
@egemenaksu 2 жыл бұрын
hey Nick! I believe that the code link in the description is a link to another project of yours. Absolutely amazing video as always, keep up the good work. Cheers!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Updated, thanks a mil @Egemen!
@Don69Muk
@Don69Muk Жыл бұрын
I like how you deliver the content. Good job dude
@gabrielvalentim197
@gabrielvalentim197 2 жыл бұрын
Hey Nick. Thank you very much for your content. I really like your videos and they helps me understand more and more about ML!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
I'm so glad you're enjoying them @Gabriel!
@Aidev7876
@Aidev7876 2 жыл бұрын
I like your videos from the instructional aspect. However honestly I don't care of you google it or stack it or copy paste from notepad. Who cares? Just explain how it works and teach us. We are not trying to give you a grade based on speed or copy paste.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thanks a mil @Angels Mobile! I add those constraints to make it challenging for myself as well, forces me to push myself to do better for you guys!
@Aidev7876
@Aidev7876 2 жыл бұрын
@@NicholasRenotte that's fine man. I guess I'm older than the average in this group. So the other guys may like the challenging aspect you are doing. Although my comment got 10 likes so I'm not quite sure... In real life, nobody is going to check if you used Google and actually there is a value showing how to search for help real-time cause everyone will learn from that part too. But hey. As I said. Your content is great and you do have lots of positive energy. Up-to you if you want to keep the timer and no internet check. My 1 cent 😀
@Aidev7876
@Aidev7876 2 жыл бұрын
@@domehouse79 ?
@ProfessorThock
@ProfessorThock 2 жыл бұрын
He obviously had to learn all of this stuff and check the documentation beforehand anyway so it doesn’t really make much of a difference. He’s just going off memory from what he coded beforehand right? Pretty sure the 15 minute thing is just a fun/gimicky way of showing that it doesn’t have to take long to do something cool
@Pythonist_01
@Pythonist_01 Жыл бұрын
​@@NicholasRenotteplease help me out with the authtoken library it's not working on my python I've tried everything
@alecubudulecu
@alecubudulecu 2 жыл бұрын
This is awesome. But I agree with some of the comments that I wish you would slow down and just reach this stuff. It’s awesome and we can follow along. But while you are an awesome coder … your an even better educator
@SimonLam2024
@SimonLam2024 2 жыл бұрын
I enjoy this very much. I didn't know we can Text To Image in this way.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
🙏🙏🙏 pretty cool right?!
@hanemellethy9036
@hanemellethy9036 2 жыл бұрын
That's awesome. I like the video and learning more from you. Thanks for that wonderful video. I share your videos with my students 😀 keep it up. Thanks Nicholas
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thanks so much @Hanem!!
@huzi46
@huzi46 2 жыл бұрын
Congrats you did it man🎉🎉🎉🎉
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
WE did it!! Thanks a mil @huzi!!
@huzi46
@huzi46 2 жыл бұрын
@@NicholasRenotte really love the work you put in with ur vids, keep it up man you’re doing an excellent job ❤️
@harshpanchal7412
@harshpanchal7412 Жыл бұрын
Such a Great idea and execution sir, big help for the project 🙌✨
@meanamin2463
@meanamin2463 2 жыл бұрын
Hello there , amazing tutorial , but i have a question that i am stuck with , what is the Auth_Token in the api file , is it python auth token for the enviroment or what ? I have been away from Python for a while now , so i am confused i would appreciat your hlep , cheers
@trevorsatori
@trevorsatori 2 жыл бұрын
Love your content, keep it up brotha 💎
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
SATORI DIGITAL!!! Thanks a million for checking it out :)
@nazarzaki44
@nazarzaki44 2 жыл бұрын
I enjoy your videos Nick! Thank you so much for the hard work and sharing
@CircuitNotion
@CircuitNotion Ай бұрын
genius bro! i like your contents!
@SAHIL.SINGHYT
@SAHIL.SINGHYT 2 жыл бұрын
good work king, love you
@wgb-10
@wgb-10 2 жыл бұрын
Amazing stuff man. You did it within the time frame! Let's celebrate with an amazon gift card 😂
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
I was soooooo tempted to just give it away for fun @Wesley!! Might add it to the pot for the next one?!
@wgb-10
@wgb-10 2 жыл бұрын
@@NicholasRenotte Nah its fine 😂
@aryananchan5764
@aryananchan5764 Жыл бұрын
did anyone else find difficulties to run this code?? I can't generate any images its showing me error:'sample'
@primz01
@primz01 2 жыл бұрын
@Nicholas Renotte So the error is in 3.4 Build train and test Partition after I wrote res = preprocessing_twin(*example) I got a type error= preprocessing_twin takes 2 positional arguments but 3 were giving
@primz01
@primz01 2 жыл бұрын
So pls how do I fix the error thanks
@CG23
@CG23 2 жыл бұрын
which extension need to install please tell full setup like how you create stable bud and how we publish file
@jojo23srb
@jojo23srb 2 жыл бұрын
Hey Nick, awesome tutorial! Do you know if it's possible to do this same thing using Intel CPUs? I've tried specifying 'cpu' as my device but am getting some errors.
@bartoszhojnacki2233
@bartoszhojnacki2233 2 жыл бұрын
Congrats on completing it! Another cool video. I think you are a bit harsh to yourself - i mean loading the model etc shouldn't "consume" the time :D
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Hahahaha, true, I think I just get too hyped up in the moment and forget to pause and do stuff. I completely forgot to turn on the RGB lights on my desk as well normally they're the red and blue ones from prev code that challenges
@alicanakca8116
@alicanakca8116 2 жыл бұрын
Love these challenges!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
🙏🙏🙏
@saviruedirisinghe3751
@saviruedirisinghe3751 6 ай бұрын
Thank you so much for sharing your knowledge with us. I have learn so much from you.
@jgvisk1041
@jgvisk1041 2 жыл бұрын
Nick, your videos are amazing, but I was wondering if you would be willing to release the requirements.txt for the environments you run? I was able to follow the instructions of this challenge but then I face an error where torch says it is not compiled with cuda. I would like to make sure my versions are stable, and utilizing the requirements you have would help in troubleshooting.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Just added it to the github repo for you! Let me know how you go.
@jgvisk1041
@jgvisk1041 2 жыл бұрын
@@NicholasRenotte Wanted to reply back that the requirements did the trick! I had an issue with torchvision, and your requirements.txt helped me troubleshoot how to properly install it. Thank you. Please consider releasing the requirements when you do future projects, and possibly past ones if you don't mind. I haven't been able to complete the TFOD course due to continuous errors on dependencies, even beyond the error handling you included, and don't know where to properly troubleshoot. Having a perspective of the environments you run in and version of python helps a great deal.
@habs795
@habs795 11 ай бұрын
Can you share the instructions please?
@StarDust1510
@StarDust1510 2 жыл бұрын
This made my day!!! Thanks a lot!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thanks a mil for watching it @StarDust, ya made my day tuning in!!
@aimanifest
@aimanifest 2 жыл бұрын
Also, would be interested in a discord bit code that episode! lol
@ramrayavarapu7321
@ramrayavarapu7321 Жыл бұрын
Astonishing brother, learned many things, Could you please share how you got the image text pairs dataset Also please tell me which one is better STABLE DIFFUSION or GAN
@gplgomes
@gplgomes 2 жыл бұрын
I couldn't find the module "authtoken" to install. Which is the link to it?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Check out the Github repo, I updated it to show how to set it up!
@jerrycheng8537
@jerrycheng8537 10 ай бұрын
where in repo? sorry I cant find it
@michaelzumpano7318
@michaelzumpano7318 2 жыл бұрын
That was exhilarating!
@-_BahauddinTaha
@-_BahauddinTaha 2 жыл бұрын
Hey, Nick, Great Video. Learned something new! I've a question, Is there any way to do it, if you don't have a GPU support on your pc???
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
You can definitely do it, it'll just take a lot longer to generate!
@vikrantyadav5506
@vikrantyadav5506 Жыл бұрын
getting an error in line number 18 the error is prompt = ctk.CTkEntrym(height=40, width=512, text_font=("Arial", 20), text_color="black", fg_color="white")
@rajjatkaul3539
@rajjatkaul3539 Жыл бұрын
Text_font = only use font
@vigneshpadmanabhan
@vigneshpadmanabhan 2 жыл бұрын
Amazing video as always… I’m not able to install some of those libraries while following the video.. where to find Authtoken?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
1. Create a new python file called authtoken.py 2. To that add a variable called auth_token 3. Get your user token from hugging face and set the auth_token variable to that value Should look like this auth_token="ahjkhkjhkh
@habs795
@habs795 11 ай бұрын
What are the basic software requirements for this project? Can you share the instructions?
@henkhbit5748
@henkhbit5748 2 жыл бұрын
Awesome Nick👍👋👋 maybe u can generate that Mercedes win an F1 race😉
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
LOL you’re breaking my heart Henk 😂 maybe next season?! or the one after that?!
@SergeiKasimov135
@SergeiKasimov135 2 жыл бұрын
Hey Nick! I watched your video and I really like it. However, I have a problem with cuda. The error is "out of memory". Can you help with it, please? I've already checked a lot of websites to solve it,but nothing helped.
@jeewan3108
@jeewan3108 2 жыл бұрын
I am a lot confused with the virtual environment and global enviroments in pyhton, it is becoming so hard to import a specific verison of a module in a pyton project. Please make a video on working with virtual enviroments and how to keep them usefull everytime like you as a pro.
@gplgomes
@gplgomes 2 жыл бұрын
Hei bro, the link was for the Titanic and not for the Stable.
@sapnilpatel1645
@sapnilpatel1645 Жыл бұрын
The video is amazing. learned a lot. Thanks for making it.
@hayagreevsivakumar9188
@hayagreevsivakumar9188 2 жыл бұрын
Hahahah best video Ive seen about python, fun anxious and exciting!!
@pary327
@pary327 3 ай бұрын
How do you get bigger images? I found that the model didn't perform very well doing things like nature and scenery and when I tried to do a pick a image normal screen size I ran out of memory
@selcukozdemir8941
@selcukozdemir8941 2 жыл бұрын
That was really inspiring. I learned a lot from this video and I hope everyone else do too.
@TheFahad318
@TheFahad318 2 жыл бұрын
Inspirational 🔥
@rickyroxas3130
@rickyroxas3130 2 жыл бұрын
Can you make a Traffic Sign Detection video next time sir? I really appreciated all of your works. Thank you.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
You got it!
@yolow8126
@yolow8126 2 жыл бұрын
bro your big brain I have a question how do you know to work with which liberay in .py
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
A lot of it is research and experimentation!
@AnandVarrier
@AnandVarrier Жыл бұрын
Hey @Nicholas Renotte, Thank you for this model. Its interesting how you were able to complete within 15 min. I tried this model on my system but got into few errors. Searched on Stackoverflow and on your github repo but did not find help. Could you please help with this error. Error: Potential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed. If anyone else know how to resolve. Let me know. Danke.
@vishwa-d1o
@vishwa-d1o 7 ай бұрын
hey got same error ..did you find the way to overcome?
@rayaneghilene5152
@rayaneghilene5152 2 жыл бұрын
This is very entertaining and exciting content, thank you so much for sharing such great work with us
@TheCopernicus1
@TheCopernicus1 2 жыл бұрын
Awesome mate!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Cheers @Bass!
@squadgang1678
@squadgang1678 2 жыл бұрын
Hello Nicholas, Can you please make a video on recurrent yolo on any custom data.. please 🥺🥺🥺
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Recurrent YOLO? That's a thing? Let me take a look!!
@squadgang1678
@squadgang1678 2 жыл бұрын
@@NicholasRenotte yes It would be helpful for me if you make a video on it ✌️ we can use it to predict next frame of an moving object in video.. or if possible make a video any model which could predict next frame. For example if there is a man running on the road and you are tracking his motion if any object like a pole or a car comes in front of it a normal object tracking model wont detect the person whereas a next frame prediction model would predict its location
@ahmetcals3651
@ahmetcals3651 2 жыл бұрын
Yeahh finally you did it! I'm curious about where you learn all bunch of stuff? What are your recourses? How long preparation it takes to make a tutorial video for example?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
A lot of it is just random googling and reading! I normally give myself one to two days to learn the code and then a day to do the challenge and record.
@ahmetcals3651
@ahmetcals3651 2 жыл бұрын
Keep going what you doin! Learning a lot from you :)
@juangabrielvillamizar9871
@juangabrielvillamizar9871 2 жыл бұрын
You are great, God bless you and continue to give you wisdom
@maheshrudrapati4026
@maheshrudrapati4026 2 жыл бұрын
Hey Nick, Your Get the Code is referring to the Titanic project, not the Text to image one. Can you please check and update it or can you share the direct link of this project excited to get my hands wet in this modle. Thanks for the great tutorial.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Cheers Mahesh, updated!
@habs795
@habs795 11 ай бұрын
Can you plz share the instructions about this project?
@souradeepsaha6944
@souradeepsaha6944 Жыл бұрын
Hi Nick, I am getting the below error : prompt = ctk.CTkEntry(height=40, width=512, text_font=("Arial", 20), text_color="black", fg_color="white") TypeError: CTkEntry.__init__() missing 1 required positional argument: 'master'
@orionnettuno7443
@orionnettuno7443 Жыл бұрын
I also go that error, trying to figure it out TypeError: CTkEntry.__init__() missing 1 required positional argument: 'master'
@Kshitij-dr7qe
@Kshitij-dr7qe Жыл бұрын
Hi Souradeep, you need to enter master=app argument as per the documentation of customtkinter. This is how i did and it worked for me ``` prompt = ctk.CTkEntry(master=app, height=40, width=512, text_color="black", fg_color="white") ```
@souradeepsaha6944
@souradeepsaha6944 Жыл бұрын
@@Kshitij-dr7qe Thank you for the reply. I will check and let you know
@areejsiddiqui6706
@areejsiddiqui6706 11 ай бұрын
Hi, I'm getting the same error, were you able to solve it? I'm guessing it has something to do with stabletk , it's the virtual environment ig?? Please reply
@MrSurya-hn7pu
@MrSurya-hn7pu Жыл бұрын
RuntimeError: "LayerNormKernelImpl" not implemented for 'Half' if anyone knows how to resolve this please help
@out-of-sight
@out-of-sight 2 жыл бұрын
This is amazing. That's it. 👌
@jeaywilson2168
@jeaywilson2168 2 жыл бұрын
Great video Nicholas. What specifications do you advice I look for in a laptop I can use for about two years as a beginner in DL? I'm looking to get a hp pavilion 16gb RAM 512 gb SSD (or 1 tb SSD) Ryzen 7 5600h RTX 3050ti Do I need to be concerned about screen specifications? Are these specs good enough?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Screen specs don't matter too much, but the GPU does if you want to get into deep learning! In a laptop you'll kind of be a little limited either way but a 3050ti is a great start!
@jeaywilson2168
@jeaywilson2168 2 жыл бұрын
@@NicholasRenotte Thanks, I was also hoping that perhaps I could use cloud services like paperspace, that'd suffice right? I just have a lot of questions, and being a novice I'd appreciate if you could guide me on my journey. Can I follow you socials, like twitter?
@viveknath6073
@viveknath6073 2 жыл бұрын
Woh You are Amazing And your content is massive ❤ everyone is Impressed When you challenge yourself for building new things in less time with accuracy I want this type of confidence to improve myself and Do something new 😌thanks Nic for providing a lot of knowledge craziness about ML and AI ❤️😌 it will help us
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
I'm so glad you enjoyed it @Vivek!! Also love that you love my slight craziness LOL, gotta keep it fun!!
@viveknath6073
@viveknath6073 2 жыл бұрын
@@NicholasRenotte yehh bro please provide this type contant i love it brooooh
@itsme9877
@itsme9877 8 ай бұрын
I am not able to connect the cuda n pytorch.. Struggling since hours to get that done.. Please help me
@mikesurong7315
@mikesurong7315 2 жыл бұрын
He already coded this earlier so he already knew everything...
@mikesurong7315
@mikesurong7315 2 жыл бұрын
Remember criticisms make u stronger and hungrier
@mife-3200
@mife-3200 Жыл бұрын
Hi) Did you download the AI model beforehand or you just connected with API?
@zohaibshaik
@zohaibshaik Жыл бұрын
Hey NIck. While checking your project i ran into few issues which python version have you used I'm currently using 3.6.0
@VenkyBeast
@VenkyBeast 2 жыл бұрын
Amazing! I almost thought that you gonna lose this challenge. lol.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
LOL for once I was like nottt todayyy!
@Rohittarkar175
@Rohittarkar175 4 ай бұрын
Thanks a ton ❤
@ndumisomhlongo1125
@ndumisomhlongo1125 2 жыл бұрын
you're my role model
@fahadabdullah510
@fahadabdullah510 2 жыл бұрын
Can you create anything like Virtual Dress Mode for users on a Website/App using GANs or at least give a little bit of info regarding on how to build such a neural network it will be very much helpful.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
You got it!!
@fahadabdullah510
@fahadabdullah510 2 жыл бұрын
@@NicholasRenotte Thank you very much and can you make a detailed video on it because i think it is a very important topic and there will be very much to learn from it.
@primz01
@primz01 2 жыл бұрын
Good afternoon sir I saw one of your video on facial recognition then as I was programming I came across an error that I couldn't fix I wanted to ask for a way to contact so we can discuss about the error
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Shoot me the error here! Happy to help!
@primz01
@primz01 2 жыл бұрын
@@NicholasRenotte So the error is in 3.4 Build train and test Partition after I wrote res = preprocessing_twin(*example) I got a type error= preprocessing_twin takes 2 positional arguments but 3 were giving
@primz01
@primz01 2 жыл бұрын
@@NicholasRenotte thanks for your responses
@primz01
@primz01 2 жыл бұрын
@@NicholasRenotte I sent the screenshot to your Facebook my name is Paul Alo
@__mothership__8475
@__mothership__8475 Жыл бұрын
How to make it work using device="mps", since I am working on MacOS and CUDA is not enabled
@chienlingliu
@chienlingliu 7 ай бұрын
well done ! thank you for sharing this !
@shreyasnair994
@shreyasnair994 2 жыл бұрын
Hey Nicholas can you please post a video about using aws recognition for real time object detection and triggering a raspberry pi when certain objects are detected using aws lambda, I really would like to know if its even possible and if yes how it can be done.
@ihebbibani7122
@ihebbibani7122 Жыл бұрын
Hi Nicholas , what changes should we make to make it run on CPU ? Thank you
@adamalazzawi
@adamalazzawi Жыл бұрын
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu") I guess
@mrziedaan
@mrziedaan 2 жыл бұрын
He Nicholas! Thanks for your great videos, it would be awesome if you made a video about making your own difussion model.
@saurabhtalele1537
@saurabhtalele1537 2 жыл бұрын
nice....i have a simple problem....like if i have simple input and output data..... do python will intuitive enough write linear search algorithm for me if yes how? frankly speaking i have no knowledge in ai but can this happen....
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Depends what your output looks like, but you could use a number of ml modules to help you out!
@saurabhtalele1537
@saurabhtalele1537 2 жыл бұрын
@@NicholasRenotte yes thanks actually i don't have any knowledge in ai....thanks please can you make video on that....like if i give a simple table of 2,4,.... can python intuitive that code....???
@saurabhtalele1537
@saurabhtalele1537 2 жыл бұрын
ok sir, Polycoder can do it, but how? how to install it? and use no one is teaching that? i thing you have capability to uncover secret of polycoder and contribute to that......
@nazarzaki44
@nazarzaki44 2 жыл бұрын
What if I would like to get more images and not only one?
@minam7733
@minam7733 2 жыл бұрын
Can I use API JSON which I fetch or extract it from a video instead of text?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Would likely be a different use case if trying to pass in video or a frame as an input!
@satishkumar-it2hl
@satishkumar-it2hl 8 ай бұрын
Hey Nick how can I run this code in the CPU without GPU, when I am trying to run code in the CPU getting a lot of errors can you create a video on how we can run it on the CPU
@ahmetcals351
@ahmetcals351 2 жыл бұрын
Hey Nick, the get the code link is seems wrong. It's mapping to Titanic code. Just letting you know :)
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thanks a mil @Ahmet, yeah that's my bad included the right link in the comments :)
@pavwlik
@pavwlik Жыл бұрын
Hi, i tried this and i have one error, i honestly installed all the packages, but it gives me the error that the master argument is missing
@rajvinus
@rajvinus Жыл бұрын
do you have nvdia driver ?
@pavwlik
@pavwlik Жыл бұрын
@@rajvinus No.
@rajvinus
@rajvinus Жыл бұрын
@@pavwlik which graphics card you have in your pc
@pavwlik
@pavwlik Жыл бұрын
@@rajvinus amd rx6750XT, i have newest drivers.
@ameer8144
@ameer8144 10 ай бұрын
Hi, I'm getting an error in line 17 (where prompt=ctk.CTkEntry) ctk.CTkEntry._init_() missing.. What should i do
@muraffilasadaf9282
@muraffilasadaf9282 9 ай бұрын
Did u get .....same error here
@AIFocus01
@AIFocus01 2 жыл бұрын
Thanks for this great content.Which version of python was used for this project?
@Cinemaaereo
@Cinemaaereo 2 жыл бұрын
Hi! I found your video searching for a way to add a simple Login page to my Local Stable Diffusion PC. It's impossible to find something like this! Can you do some tip about it? Thanks. Sorry for my english.
@shayanshaikh534
@shayanshaikh534 2 жыл бұрын
Is there a way I can change the batch size? I have 4GB ram but 512MB is the additional requirement as I have 1650Ti Any help please
@shaikhsara3952
@shaikhsara3952 Жыл бұрын
Which python Version does it need and is it mandatory a GPU computer to run this or installing torch without GPU option will be okay also it can't import many classes what shall I do please help me out?
@Pythonist_01
@Pythonist_01 Жыл бұрын
Hello sir i am not able to inastall authtoken and costumtkinter please someone should help me out
@harshaldharpure9921
@harshaldharpure9921 Жыл бұрын
Whats Kind of real world apps we can make using Stables Diffusion
@ritam_arya
@ritam_arya 2 жыл бұрын
module 'torch' has no 'float16' memberpylint(e1101:no-member) . Can you help?
@ritam_arya
@ritam_arya 2 жыл бұрын
torch_dtype=torch.float16 (error text)
@joaobentes8391
@joaobentes8391 2 жыл бұрын
hey nick great vido again ur a machine that inspired me to start programing. So i have a problem with other project of urs , the cartpole balacing one: in this line n_state, reward, done, info = env.step(action) it gives me a error when i run it it says : "ValueError: too many values to unpack (expected 4)" then i put down a truncated var like i saw in opaigym rep but after that it gives me another error while training the model it says: "ValueError: Error when checking input: expected flatten_1_input to have shape (1, 4) but got array with shape (1, 2)" and im cannot understand why could u pls explain if u know whats happening? thanks a keep up the good work!!!! : ) peace
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Double check your neural net, this would indicate that your output layer is expecting something like [[1,0,0,1]] but is getting [[1,0]]
@Genicist
@Genicist 2 жыл бұрын
congrats for completing this lol....but howdo you make those text animations also
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
LOL a ton of final cut pro and After Effects 😅
@f16gaming-pubgmobile95
@f16gaming-pubgmobile95 Жыл бұрын
Can you please tell about the dataset you used for this
Building a Machine Learning API in 15 Minutes | Coding Challenge
20:04
Nicholas Renotte
Рет қаралды 134 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Building a Neural Network with PyTorch in 15 Minutes | Coding Challenge
20:34
Build a Python AI Image Generator in 15 Minutes (Free & Local)
17:20
I tried to build a REACT STABLE DIFFUSION App in 15 minutes
34:49
Nicholas Renotte
Рет қаралды 72 М.
I tried building a AUTO MACHINE LEARNING Web App 15 Minutes
24:07
Nicholas Renotte
Рет қаралды 85 М.
Text To Image Generator Project  | Stable Diffusion
17:35
DSwithBappy
Рет қаралды 3 М.
Stable Diffusion - What, Why, How?
54:08
Edan Meyer
Рет қаралды 233 М.
Text to Image Diffusion AI Model from scratch - Explained one line of code at a time!
24:58
How to Build Your Fastest Text-to-Image Generator AI App
6:25
ManuAGI - AutoGPT Tutorials
Рет қаралды 5 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН