Complete Pytorch Tensor Tutorial (Initializing Tensors, Math, Indexing, Reshaping)

  Рет қаралды 113,060

Aladdin Persson

Aladdin Persson

Күн бұрын

Пікірлер: 95
@sebi_alo
@sebi_alo 2 жыл бұрын
I'm italian and I was able to follow the entire tutorial without subtitle. Very very clear. This video is brilliant
@yee-seng-chan
@yee-seng-chan 4 жыл бұрын
This is like a Tensor cheat sheet. Often we just learn about the tensor operations that we encounter in practice, and this is a very nice and concise summary!
@devanantMe
@devanantMe 4 жыл бұрын
This tutorial is clearly best on the internet!!
@maryfrancesgleason9415
@maryfrancesgleason9415 7 ай бұрын
Absolutely the best intro video to Pytorch tensor operations on the internet. Comprehensive, clear, to-the-point. Well done Aladdin! Note to KZbin search algorithm: rank this first.
@rahulseetharaman4525
@rahulseetharaman4525 4 жыл бұрын
Really comprehensive and imo one of the best video tutorials for pytorch on youtube.
@AladdinPersson
@AladdinPersson 4 жыл бұрын
Really appreciate you saying that, thank you!
@mamotivated
@mamotivated 4 жыл бұрын
This was a solid video and I am happy to have watched it before diving into other stuff.
@uxirofkgor
@uxirofkgor 2 жыл бұрын
best. gonna finish this course within 1 month. Thx for ur video mate.
@rohitkukreja8704
@rohitkukreja8704 4 жыл бұрын
I Cannot thank you enough friend, You deserve a lot lot success, to me you are anyway more successful than most of the people on KZbin, God Bless you bro !! Keep working on Amazing Stuff. Your Yolo Video is Amazing. Loved your work.
@AladdinPersson
@AladdinPersson 4 жыл бұрын
Thanks a lot for your kind words friend 🙏
@codewithyouml8994
@codewithyouml8994 3 жыл бұрын
I have completed the full video, in order to see the full stuffs, as they are really needed. The videos are awesome, now its time to make the hands dirty with ur neural nets playlist. Cheers
@jianweitang4790
@jianweitang4790 4 жыл бұрын
Thank you for your videos. I've been confused about 'bmm' untill you tell it is the abbreivation of 'batch matrix multiplication' XD. I did not get bored at all even it is an 1 hour video. I like this tutorial and it can be good prerequisite for future advanced videos. I would like to see more videos about NLP tasks like NER and sentiment analysis using BERT/Transformers in the future. Videos of coding show the process of your thinking, and you've done good explanations. I learn a lot from them. Thank you.
@AladdinPersson
@AladdinPersson 4 жыл бұрын
Haha yeah bmm is definitely confusing but when you understand it it's quite a simple operation really! I appreciate you saying that, the video can be perceived incredibly information heavy but I guess that doesn't always correlate with boring. I definitely think understanding tensor operations should be seen as a prerequisite for more advanced concepts because we use these operations all the time. Will try to do videos on those topics in the future I'm sure, thanks for the comment :)
@YTian-xg2cz
@YTian-xg2cz 4 жыл бұрын
Thanks so much! Just cannot stop watching!
@charudattamanwatkar8340
@charudattamanwatkar8340 3 жыл бұрын
22:04 you can also do matrix multiplication as x3 = x1 @ x2
@mohdkashif7295
@mohdkashif7295 3 жыл бұрын
At 18:56 ,now for division it's torch.div(x,y)
@zahraanvari5726
@zahraanvari5726 3 жыл бұрын
Very detailed, structured and helpful video! Thank you so much!
@kiranraghavendra481
@kiranraghavendra481 4 жыл бұрын
This has been reallyyyy useful. Thank you and keep up the good work man!!!
@AladdinPersson
@AladdinPersson 4 жыл бұрын
Appreciate the kind words 🙏
@ashfakyeafi2702
@ashfakyeafi2702 3 жыл бұрын
i am new to pytorch. This video is a great practical example of tensor. thanks for making this.
@vaisuliafu3342
@vaisuliafu3342 4 жыл бұрын
Great video, will be passing this onto to others as well. Cheers!
@physicsmadness
@physicsmadness 3 жыл бұрын
you are in the wrong field bro.. you should be a magician! respect from my core..
@paulntalo1425
@paulntalo1425 3 жыл бұрын
Am very grateful for this resource. compact and easy to understand in one go. Thank you
@sayfriends87
@sayfriends87 4 жыл бұрын
It's an awesome video series! I will definitely watch all videos of this course. Thanks a lot! :)
@x2t2cx
@x2t2cx 3 жыл бұрын
Exactly what I was looking for, thanks.
@euphoriess
@euphoriess 3 жыл бұрын
nice video when making example of diag(), I think you can use something like this x = torch.diag(torch.rand(3)) so the viewer will not confuse with eye()
@anshulthakur3806
@anshulthakur3806 3 жыл бұрын
This tutorial is really useful. Great explanation in tutorial with covering every important aspect related to pytorch tensor basics in one video. Thanks a lot.😀
@daiversetech8000
@daiversetech8000 3 жыл бұрын
I really like the way you deliver the intuition along with the syntax. Great content....
@1chimaruGin0_0
@1chimaruGin0_0 4 жыл бұрын
It was simple but effective. Thank you sir
@dushansilva1
@dushansilva1 3 жыл бұрын
This was really awesome! helped me understand the basics :) thanks!
@saravanannatarajan6515
@saravanannatarajan6515 2 жыл бұрын
Great tutorial, nice content and flow. Highly recommend for beginners.
@jayvnathan6496
@jayvnathan6496 4 жыл бұрын
Thank you Aladdin. Great video series, extremely valuable. I wish you success in all of your endeavors. God bless you my friend.
@AladdinPersson
@AladdinPersson 4 жыл бұрын
🙏
@ragibshahriar187
@ragibshahriar187 3 жыл бұрын
Very clear video!
@emrulhasan5646
@emrulhasan5646 3 жыл бұрын
This is an amazing tutorial on tensor operation. Thank you very much. Can you make a video on Huggingface?
@anmolgautam9572
@anmolgautam9572 3 жыл бұрын
Thank You for the lesson .
@gsaidheeraj2229
@gsaidheeraj2229 2 жыл бұрын
Nice Work, Thanks bro.
@Ramm165
@Ramm165 4 жыл бұрын
Hi many thanks for the video can you do an in-depth video on how to initialise the weight matrices for CNN and lstms
@AladdinPersson
@AladdinPersson 4 жыл бұрын
There are different Initialization methods like kaiming, Xavier, etc. But you don't have to worry about this really, Pytorch uses these for default Initialization anyways. Some papers use more specific Initialization schemes and then you might have to do some tweaks, but I don't think this topic needs an entire video on it at least not right now, and these would be a more theoretical/concept video rather than what my channel is mostly about which is highly practical and implementation heavy
@chientruong926
@chientruong926 3 жыл бұрын
Thank you so much for your great video!!!
@yixianwang863
@yixianwang863 3 жыл бұрын
Great video! Thank you!
@sayantanbhattacharya3035
@sayantanbhattacharya3035 4 жыл бұрын
great tutorial
@hrithicksen3644
@hrithicksen3644 4 жыл бұрын
Kudos for your effort
@heyman620
@heyman620 3 жыл бұрын
You should talk more about mm vs dot. Great video :)
@МаксимЧапаев-в6ь
@МаксимЧапаев-в6ь 4 жыл бұрын
This video covers my lack of knowledge. Thanks!
@AladdinPersson
@AladdinPersson 4 жыл бұрын
I'm happy you found it useful! 🙂
@minasoftware
@minasoftware Жыл бұрын
thank you, great content.
@fabryperot8081
@fabryperot8081 3 жыл бұрын
I am gonna like the video and I am gonna give you a huge thumbs up :D
@azizulhakim1534
@azizulhakim1534 4 жыл бұрын
very very useful Video
@AladdinPersson
@AladdinPersson 4 жыл бұрын
Thank you so much :)
@goelnikhils
@goelnikhils Жыл бұрын
Amazing Video
@codewithyouml8994
@codewithyouml8994 3 жыл бұрын
Can u pls try to make a video describing ur journey from a beginner to a level where u can now implement a full raw research paper to code. Like how much time did it took, ur ups and downs etc..... please. Thanks. Cheers.
@niveyoga3242
@niveyoga3242 4 жыл бұрын
You are incredible!
@kaanefe4266
@kaanefe4266 2 жыл бұрын
absolute legent
@yantinghuang7491
@yantinghuang7491 4 жыл бұрын
Thanks for the great video! One minor point: t = t + x seems would not generate a new copy. I used id() to check the memory address and seems like the old t and new t share the same address.
@AladdinPersson
@AladdinPersson 4 жыл бұрын
Oh ok!
@hamzajaved5283
@hamzajaved5283 2 жыл бұрын
I realise I'm replying to a very old comment, but using id() as you indicated, I found that it did produce a new address so was indeed a copy? Perhaps it depends on Python / Pytorch version?
@devk6177
@devk6177 4 жыл бұрын
Great video series, following it to brush up pytorch coding. Could you provide an example of how the max,sum,min etc. will work for a 3 dimensional tensor?
@devk6177
@devk6177 4 жыл бұрын
This article explains it clearly for 3d tensors towardsdatascience.com/understanding-dimensions-in-pytorch-6edf9972d3be
@عينالصقر-ذ6غ
@عينالصقر-ذ6غ 3 жыл бұрын
can you make course about computer vision with tensorflow and pytorch becuse your work is very good thank you
@Japneets1
@Japneets1 4 жыл бұрын
Quite helpful
@eduardovelardepolar5754
@eduardovelardepolar5754 4 жыл бұрын
Great video
@devindoinmonkmode
@devindoinmonkmode 11 ай бұрын
appreciate it man
@kiddliu3767
@kiddliu3767 3 жыл бұрын
Nice video!! Learn a lot from this, and I notice that you have code completation for squeeze() and unsqueeze() which dose not work in my pycharm, do I need some extra pulgin or sepcific settings?
@GoDDamnHosTile
@GoDDamnHosTile 3 жыл бұрын
At 43:40, 0 is not unique yet it returns as unique. I tried it and it does the same for me. I wonder what causes this.
@ТапаМара
@ТапаМара Жыл бұрын
Thanks for the video! Can you tell me the name of your font in PyCharm? :)
@yannickpezeu3419
@yannickpezeu3419 4 жыл бұрын
Thanks Aladdin
@h3r3mii
@h3r3mii Жыл бұрын
Could you do an advanced video ;p ? Thanks
@omnesomnibus2845
@omnesomnibus2845 3 жыл бұрын
Good video, but I think it's unnecessarily confusing to use 'tensor' as a variable name (12:43) when it is also a special notation for making tensors.
@eggwarrior5630
@eggwarrior5630 2 жыл бұрын
I have a genuie question to ask. May I know what is the difference between torch.eye and torch.diag? Since they both is to create a diagonal shape of the value. Thanks in advance
@badavaththarun7006
@badavaththarun7006 3 жыл бұрын
is x1 @ x2 same as x1.mm(x2) ?
@aaryannakhat1842
@aaryannakhat1842 3 жыл бұрын
Yep!
@arashabdi4052
@arashabdi4052 3 жыл бұрын
Thank you so much for your great job. just there is one question, in pycharm autocompletion is not finding the _TensorBase part, I mean when I am typing: x = torch.tensor([sth]) then I expect to have x.float(), x.shape and so on but the float, shape, and ... is not suggested by pycharm/ autocomplete but the code is working. what you think the problem is?
@parthchokhra7298
@parthchokhra7298 4 жыл бұрын
Hey, great video there. Can we get an object detection video from scratch? How they are different from classification? That would be great :)
@AladdinPersson
@AladdinPersson 4 жыл бұрын
Will look into it more :) Can't say it's next but will definitely do it and hopefully it doesn't take too long
@段玉池
@段玉池 Жыл бұрын
good video
@aigaurav5024
@aigaurav5024 4 жыл бұрын
Thanks
@roomo7time
@roomo7time 3 жыл бұрын
itd been perfect if u explained gather. or do u explain it elsewhere? anyway good video!
@Yazdah
@Yazdah 4 жыл бұрын
Perfect :)
@prajwol_poudel
@prajwol_poudel 2 жыл бұрын
can't figure out the math behind batch matrix multiplication and broadcasting multiplication.
@asaadanaam3163
@asaadanaam3163 3 жыл бұрын
Awesome
@ehza
@ehza 3 жыл бұрын
Nice
@SuperLastkick
@SuperLastkick 4 жыл бұрын
Hola, I'd like to know if there is a discord available or not ?
@AladdinPersson
@AladdinPersson 4 жыл бұрын
Yes there is :) if you connect your youtube to your discord it should automatically add you, I think. Let me know if it doesn't work
@SuperLastkick
@SuperLastkick 4 жыл бұрын
@@AladdinPersson i just did it but does not work for me 🥺
@thecros1076
@thecros1076 4 жыл бұрын
Sir what are your future plans for the channel what do you plan ahed?
@AladdinPersson
@AladdinPersson 4 жыл бұрын
I'm not entirely sure, I think I will do a couple videos in the upcoming days on quick tips and on problems I commonly notice which could save time debugging and understanding for people learning about Pytorch. Following that I'm going to learn and share my experience on other topics like object detection
@thecros1076
@thecros1076 4 жыл бұрын
@@AladdinPersson truly excited ❤️❤️❤️ waiting for all of it🔥🔥🔥
@gol197884266
@gol197884266 Жыл бұрын
Joya😊
@jdcrunchman999
@jdcrunchman999 Жыл бұрын
You are not executing some of these functions, why? I want to see what they do.
@masoudhashemian5629
@masoudhashemian5629 2 жыл бұрын
greate
@兰天行
@兰天行 9 ай бұрын
太强了
@devnull711
@devnull711 Жыл бұрын
Great work, thank you!
Pytorch Neural Network example
23:32
Aladdin Persson
Рет қаралды 128 М.
PYTORCH COMMON MISTAKES - How To Save Time 🕒
19:12
Aladdin Persson
Рет қаралды 56 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Einsum Is All You Need: NumPy, PyTorch and TensorFlow
16:22
Aladdin Persson
Рет қаралды 46 М.
PyTorch Course (2022), Part 1: Tensors
28:57
Mr. P Solver
Рет қаралды 41 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 298 М.
What's a Tensor?
12:21
Dan Fleisch
Рет қаралды 3,7 МЛН
Visualization of tensors  - part 1
11:41
udiprod
Рет қаралды 622 М.
Pytorch Transformers from Scratch (Attention is all you need)
57:10
Aladdin Persson
Рет қаралды 320 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 348 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 337 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН