How To Make AI Images Of Yourself (Free)
HTML-код
- Опубликовано: 10 сен 2024
- Here's how to train your face into the new AI models. Here's the link for $10 free at Replicate: replicate.com/... (NOT Sponsored)
Discover More From Me:
🛠️ Explore thousands of AI Tools: futuretools.io/
📰 Weekly Newsletter: www.futuretool...
🎙️ The Next Wave Podcast: / @thenextwavepod
❌ Follow me on X: x.com/mreflow
🧵 Follow me on Instagram: / mr.eflow
Resources From Today's Video:
Train on Replicate: replicate.com/...
Train on Fal: fal.ai/models/...
Train on Collab: colab.research...
Let’s work together!
- For brand & sponsorship inquiries: tally.so/r/nrBVlp
- For other business inquiries: mattwolfe@smoothmedia.co
#AINews #AITools #ArtificialIntelligence
Update #2: I've just gotten word from Replicate that they have re-opened the $10 link! It should be working again. :)
Update #1: Apparently the link expired for Replicate. I was not told that the link would expire. I apologize for this. I honestly had no idea. I reached out to them and asked what happened and they told me that their finance team decided to turn it off because too many people were using it. I'm going to do what I can to rectify the situation, even if it means finding a different method people can follow to do it for free. Once again, I sincerely apologize. This decision was made my Replicate and they did not inform me that they would turn the link off if it got too much traffic.
yes doesnt work, maybe you will find other tools for free to show us
thanks for your dedication, a lot of can't afford to pay for gpu time and would really appreciate a free alternative to train flux lora, maybe kaggle perhaps
I’m a little late unfortunately, but thanks for letting us know. Love you videos ❤
Amazing thank you for your work!
@@mreflow Thank you sir 🔥🔥
all I want is to train locally, generate locally, and use a nice UI .
your GPU will get really hot so watch out, make sure you got an AC unit nearby
I would love to do it if I had a Nvidia H100 at home, or even an A6000, but no way my 2060S will handle anything worth the time
@@luizpaes7307 You can generate some pretty nice stuff with Stable Diffusion 1.5 on a 2060 with the right Checkpoint/Lora but yeah, not gonna work with Flux.
@@francisco444 I'll just wait for this winter to be sure :p
It's all been available for a long time; as long as your PC can handle it.
Hey Matt. We followed your instructions and generated some impressive images. Thanks for the detailed practical way you do the demos. Your dedication and passion are a cut above many.
Matt, this was a BRILLIANT Tutorial, worked like a charm on my first attempt !
Ok, there were a couple of things that I've learned from other vids that may have gotten missed with this one. 1. It must be set to public (which I think he was later addressed) and the other way I've learned and now do with no issues is 2. When creating your TOKEN you have three options - Fine-grained, Read, Write - you want to set it to WRITE and that solved all my problems. I hope it solves yours. Good Luck.
the fine grained setting is what got me, it must be to write
Your prompts are fabulous Matt keep it up!
That’s right man I love him
There seems to be a giant issue in the script of the ai-toolkit that causes it to fail every time now.
It seems to be downloading EVERY image ever supplied to it succesfully. When you check the logs you can clearly see that it is downloading multiple sets of images with names of other people that (obviously) can't be found anymore or are so big in total size that the memory can't save them all locally anymore.
Seems like a 'little' oversight on the dev's part 😂
I get other people instead of me?
*Wow, I'm definitely gonna try this method! Great stuff Mr. 🐺*
For anyone getting the error Command '['python', 'run.py', 'config/replicate.yml']' returned non-zero exit status 1:
I also got the error, but it worked on the 2nd try with a couple of changes. Not sure what exactly was causing it but you can do all of these which will hopefully work for you.
1) Specify the model name instead of leaving it blank (black-forest-labs/FLUX.1-dev)
2) Rename all of your training images to be shorter (ex: person, instead of photo_of_person) (Edit: Probably not needed it's just something I randomly tried)
3) Make sure you request access to the black-forest-labs/FLUX.1-dev model on Hugging Face (I already did this prior, so probably not the issue, but who knows)
4) When creating your access token, scroll down to "Repositories permissions", select the location for your Lora, grant all permissions
It is likely step 4 that was the issue and what fixed it.
I would imagine first creating the repository and then the access token would also fix the issue.
i did 1 and 4 and it worked (had 3 done already). thank you
Its specifically step 3
@@avivolah9401 thanks!!!! i think this is it
I still got an error after doing all that, then I resized my images and there were two corrupt photos that I had to delete from my zip after taking claude's help. Now it is working fine.
Regarding your question of positioning of the trigger word: LLMs in general pay more attention to the beginning and end of a prompt than they do to the middle (something which human brains *also* do, by the way 😁). So moving the trigger word to the beginning or end will indeed have a measurable effect on how often it includes the trained face/concept correctly.
I followed the instructions and it worked perfectly. Only issue I have, is if there are more people in the generated image, they pretty much all look like me lol
Hey Matt,
I just wanted to drop you a quick note to say how awesome I think your tutorials are. I’ve gone through the steps, and even though I haven’t had the chance to test yet, I can already tell that this is going to be a game changer for me.
It’s looking like we’re getting some rainy weather next week, so that’s when I’ll really dive into it. Just wanted to say thanks for making everything so easy to follow. You’re doing an amazing job, and I’m excited to see where this takes me./ Anna
Hi, the credit has expired, could you send a new one? Thank you!
They must have re-upped it.
Thank you so much Matt for looking out for us as always!
Cannot understand how you only got 630K subscribers. By far, this is the best IA channel ever. Thks Matt
You haven’t watched enough
Really appreciate that $10 replicate credit - immediate value and no fluff looks like the motto for this channel - i'm locked in
It worked like a charm.... but I want to use the model I created on hugging face on my local ComfyUI. Can you make a short tutorial on how to do this please!! Love your videos... keep up the good work!!
Love the candy shrimp 😁 Thanks Matt for this tutorial!
This is my first, formal AI training and I loved it. Thank you for your clear instructions
So many hoops to jump through!!! Come on someone - make this super duper easy and make it $9.99 a month. People will pay for itttttt.
Finally got it running with some tweaks mentioned in the comments. Unbelievable quality! I got the best results when I used the name of my AI alter ego often in the prompts
Wow, this video is a game changer! The AI-generated images of you are so lifelike and creative. From walking with Deadpool to flying as Superman, you’ve shown some seriously impressive stuff. Can’t wait to try this with my own photos!
Outputs are realistic af... Thanks Matt & Luca
“A lot of time has passed”. No it hasn’t. That’s the amazing thing.
Would be great to have a tutorial on using the generated LORA with ComfyUI
Very good instructions I followed it to the letter and all went well. Thanks Matt !
Tutorial videos are always welcome. It’s how us little folk get a leg up on the rich and powerful. 😊
"It’s how us little folk get a leg up on the rich and powerful" .... - Dream on
A question - what happens if you don't want to upload the model to Hugging Face at all? Do you get a download link, or something else.
I read about this toolkit just yesterday but with the VRAM requirements it was a no go for me. Didn't know about Replicate but it has me interested and seems easy enough. Cheers.
It's like the golden era of the internet again but better than downloading entertainment. We are the entertainment now...
The credit really helped. I can generated 3000 schnell images with it
For anyone wondering, you can use your created Lora locally on your pc. i'm using it with flux nf4 on forge ui. but the results do seem a lot better running it on flux dev on replicate tho
You get better results because the first sentences of the prompt have more importance than the last ones. It works always like that! Basically I always try to use the prompt related to my lora as the first or last.
need to have a photoshoot
BRO!!! thank you ! your editing amazing love the new glitch style transition, and information presentation / lesson / 10 free , wow, this is one of your best videos yet. you the man !!
Is it possibile to use the trained Flux LoRA in automatic1111 or other sd based ui locally?
yes, I'm using it in DrawThings
How can I keep my model private in HF and still using it in replicate?
0:49 This is Matt at the 2024 Paris Olympic Ceremonies! :-)
Please keep breaking the tools down like this I am taking notes here. Your tutorials have been invaluable and a new wave of awesomeness is clearly upon us.
On the video you said to choose the "public" option instead of "private" for the model. What happens if I choose the option of the model being private?
I'm making a freelance AI animation project where it would be good if the people in the animation appear exactly as themselves on real life, but it is too risky to create a public model that anyone can access and generate any sort of images of these people, specially when one of them is very famous.
Did you find an answer for that? I have the same question
@@AndresArosemena Click on 'Settings' in the created repository. There, you will find an option to change the model's visibility. Set it to 'Private'.
That's a good question, have you been able to solve it? Otherwise I find this to be quite risky from a privacy point of view.
@@houmie very easy, In that repository you will find a setting button---> click on that ---> There must be a option change visibility---> Click on Private. That's it.
Man this is definitely one of your best videos, simple, straight to the point, and super impressive. Thumbs up. Edit: I wish I saw more examples at the end coz it's stunningly good (I don't maybe it's like "rewarding" more "fairly" after 20 minutes of watching, my brain needed more than these few examples 🙂🙂 )
Hello! Great video, I have a question. If I want to do several people, can I put all the images and train it or can it only be done with one person, since I tried it but it seems to mix the appearance of all the people into one.
I have the same question!
anyone know what happen? I follow the instruction
Training failed.
Command '['python', 'run.py', 'config/replicate.yml']' returned non-zero exit status 1.
Me too. Not quite sure how to proceed from here.
I really liked the way you presented it.
Wow, thank you very much for providing the credits and your continuing great tutorials, really highly appreciated. I truly enjoy your content and am always thrilled when you upload something new. I especially love that you cover so many different AI topics and that you always take the time to teach your findings in a easy to follow way. Keep up the great work and thanks again for sharing.
Thank you Matt. The replicate credit is expired, can you update it if possible?
Super appreciate this. I followed your tutorial from last year, and these are light years better! Thanks for posting and to you and Luis for hooking us up with the coupon. Super appreciated!
Hmmm.. I should know how to do this.. but how do I use my HuggingFace lora model in a local ComfyUI ? Do I name the lora.safetensors file a custom name and stick in in the models/loras folder? Gonna try that and find a flux workflow using a lora. YEP.. that worked in a Flux workflow. This was a fantastic video. Now I have to make several loras for characters and see if I can use em all in a generation. very nice. thanks.
Thank you Matt for the clear instructions. I managed to follow along and create some amazing images.
Following your instructions, I successfully created AI images of myself. It was such fun. Thank you very much!
Free Replicate credits are not woking its says its expired can you pleas provide a new one?
Hey Matt! I tried to run it, done step by step but im getting this error: "Training failed. Command '['python', 'run.py', 'config/replicate.yml']' returned non-zero exit status 1" Any idea on what is going wrong? - Thanks for the help! Your channel is awesome!
Make sure it's .png and not .jpg
Request access to the black-forest-labs/FLUX.1-dev model on Hugging Face first
@@Unknow202020 Do you know if the PNG files are transparent it would be a problem? I'm using PNGs
If, as i, you had the same problem, look further in the comment section for user: @frostman6029 comment. It solved this problem.
same here. I need help
AWESOME video Matt! You're the GOD of AI! Thank you for sharing your insights. Just tried everything you taught here and enjoyed it a lot!
Definitely gonna try this out. Thanks for sharing everything in such detail man 🙌
man this was intense, but I got past the learning curve, produced at least 200 amazing images... my likes, follows and engagement went up 100% since posting. Wow. Game changer.
I'm 59 but so glad I'm able to follow thru. I had to watch the video over and over and follow
Thank you so much for making this video. I was just telling myself 3 days ago. I need something like this.❤
After ALL the bla bla bla bla bla bla bla bla bla, the video starts at 4:20 ... (for those who don't want to waste time)
Thank fk
It worked perfectly, amazing pictures came out, very creative, thanks matt!
Very in formative. I stuck at the huggingface part and your video help big time. Also that Claude trick is also good. Thanks Matt!
You nailed it with your presentation; everything was spot on. Many thanx.
it failed it says 404 config.json missing on HF
This was AWESOME, Matt! Love all your videos and how you break it all down. Keep going! :)
Very cool. I’m amazed that you figured out this workflow… that is a lot of connecting the dots. I won’t do this one but I like the tutorials. Thanks Matt 😅
I followed your tutorial step by step and it keeps tellingme that my hf path is wrong ____ does not appear to have a file named pytorch_lora_weights.bin. I've tried multiple different names and models, and still get the same error. I really hoped to get this to work!
you must set it public not private, there was an error in video
@@suomishorts5046 I did that also
Great tutorial Matt! Props for the credits you landed for fans. I do enjoy Replicate and playing with all the models with Flux indeed being the best.
Thank to you to replicat and Lucataco
Hi Matt, the link to the $10 credit coupon has expired. Can you please ask Luctaco if he can renew it? Cheers Aldo
Hello,
I get Error running job: black-forest-labs/Flux.1-dev is not a local folder and is not a valid model identifier on hugging face,
So you know how to solve this?
You rock man thank you so much! I'm using these pics for my IT resume. Appreciate ya.
hey matt, I love your work, but this really does feel like promotion. just saying how it comes across. anyways, when will we be able to do all this locally? can we create flux lora's on 1111?
Thanks Matt! It's finally getting easier and easier.
Hey, I'm getting this error in replicate site after the training ends Training failed.
Error while uploading 'flux_train_replicate.safetensors' to the Hub.
Any idea why?
Very amazing video. At some time, I would like also to have fun seeing my face in interesting situations. You must be a very hard-working man. You seem to be the King of AI reporting. 630K subs is something.
I wish I have a teacher like u sooner
Thanks, Matt, ...taco, and Replicate! 😅
Thank you for the detailed instructions! Great video. You look much cooler when you show off your skills than when you pretend you don't know anything about the subject.
Great stuff! //Marketing Team at the bank
i am getting this error again and again ( Training failed. Command '['python', 'run.py', 'config/replicate.yml']' returned non-zero exit status 1. )
what should i do?
can i download the lora model to use in comfy ui?
waiting for that answer too, no luck yet.
Me too
yes, i download it, all works, but coupon expired
Hi. Funky question, I need to create a bunch of realistic cosplay photos of myself, to try and error which ones I'll buy. I want it both body and face accurate to me, but when I try to generate the anime characters with Flux like "Gojo from Jujutsu Kaisen" it doesn't understand, it just makes a girl in a jujitsu outfit. Do I like...have to train a model separately for me and for Each and Every character I need a cosplay of? That sounds like too much work if I'm honest. Is there any way around it?
I would just generate the initial Flux image as close to the character as possible and use Photoshop gen fill to polish the costume. If you select the body and upload a reference image of a costume it should do the job
Thanks for the voucher. Trying to follow your instructions now.
So you are my favorite wizard 😮
Thank you so much for this video. It was very easy to follow along and get a working model. Cost me $3.10. It does realism very well but I'm struggling to make an illustrated version of myself. It seems like the Lora is squashing any stylization from the prompt. When I stylize with another Lora, the realism is still prominent in the image. Running locally in Comfy.
_ _ all _ _: Model with this Username and Name already exists.
I keep getting this error
you broke the code. ty! very detailed and exactly the holy grail of AI self generation.
Hi thabks for the tutorial. Question: Why we need to connect the token from Huggingface to Replicate? From my understanding it's because we will export the model to HF. But than why we can't do everything inside HF? I'm new to ML so it's quite confusing. Thanks.
Hi Matt,
Thank you for this. It's exactly what I was looking for.
Thank you so much Matt for making this easy-to-understand video. I was able to generate some games of throne AI generated images
This is really cool, love this, thanks for walking us through it, just had a go and looks really good! Sweet! Also thanks for the credit allowing us to try!
Thanks so much. I learn so much each time I watch your brilliant videos. You are my real-life super hero. 🎉
Thanks Matt - keep ‘em coming😊
Love your videos Matt. This is one of the very best. Thanks.
Great, a lot to learn here! My model is being trained as we speak!
My Training keeps failing "Command '['python', 'run.py', 'config/replicate.yml']' returned non-zero exit status 1. HELP
same
What fun! This is awesome Matt!
Great video!! Is this same workflow capable of training and producing product photos. Like shirts and glasses?
Thank you so much for this video! You have a subscriber! Really appreicate the free credit as well! I will have a look at your AI music generation videos as I am very interested in this too!
Hi Matt, fan of your stuff. Isn't the point of AI to NOT have to do all these steps? What about how to train an ai to do all of this so I can just upload my 20 pics and prompt? (hey ai, watch matt's video and set it all up for me so i can just add my pics and prompts. thanks!)
You are awesome man!
great job matt, as usual. just a small request. would you mind switching your browser to Dark mode. i can hardly watch it's so bright and white now. thanks in advance
Thanks for sharing this! The link worked perfectly for me, and I successfully trained the model on my first try! 🎉 I was pleasantly surprised and so grateful for the smooth process including Claude image prompt optimizer. Matt, you consistently deliver great content on the AI world-keep up the awesome work! 🙌