Install PyTorch 2.0 in Anaconda | Conda | PyTorch 2.0

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video I will show you how to install Pi torch in Anaconda in Google you have to type by touch then I click on this official website and once you click on this you will come on this page so the latest version of pytorch is 2.0 now to install it you have to click here install then you have to scroll down a little bit and here are the options given for you to how to install it in Anaconda so first you have to select this table version as it is then the second is you have to choose your operating system in my case I am using Windows so I will keep it as Windows now the second the third option is we have to select here conda so by default it has selected pip but we are going to install it in Anaconda so I am going to select here conda and then everything you have to keep as it is the language is going to be python now if you have Cuda installed in your machine then you can keep this as it is Cuda 11.7 but if you don't have coda in your machine then you can select CPU in my machine I don't have Cuda that is why I will select here CPU then you have to copy this command and once you copy it now you have to open your anaconda prompt now here I go here in this windows and then I will select Anaconda here so this is my anaconda I will see all the options and here you can see Anaconda prompt I'm going to click on it and now I'm just going to paste the command that I have copied from here this command that I have copied I'll just right click here and I'll press enter this can take some time depends on your interval internet speed so this should start installation of Pi torch in our Windows machine in Anaconda here you can see that collecting package metadata it has started the installation process it is done the metadata is done now it is solving environment environment solving is done now here you will see this option of proceed yes or no so you will get some options here package plan the following new packages will be installed so we have to type here yes why and we have to press enter because it will install all these latest packages so I have typed here Y and I'll press enter now you see that downloading and extracting packages preparing transactions done then it will verify the transaction that is also done executing transaction that is in process now that is also done and we have successfully installed pytouch in our Anaconda so now I am going to close it and we will verify I'll open a new command prompt I will write here CMD then I will start python then I'm going to import torch I should not get an error I have successfully imported torch and let's check the version of torch or Pi torch I will write here Dodge dot version and it is 2.0 so we have successfully installed Pi torch and I can close it command prompt we can also have a look at one tutorial I'll go here in tutorials then I'll click on this tensors and then I'll just copy this example from here I'll open a Jupiter notebook it is already opened I'll paste it here I'll run it this will import torch for us and also numpy it has imported now let's check the version of Pi torch I'll write here torch Dot under version now here in the output you can see we are seeing 2.0 and we can take one example this example I'll copy it from here and I will paste it here now let us execute our code let us print our variable X underscore data and here in the output we can see the example tensor it has printed this is how you can install Pi torch in your anaconda I hope you enjoyed this video if you like my video you can subscribe to my channel thank you for watching thank you [Music]
Info
Channel: Stats Wire
Views: 9,049
Rating: undefined out of 5
Keywords: datascience, machinelearning, python, artificialintelligence, ai, data, dataanalytics, bigdata, programming, coding, deeplearning, datascientist, computerscience, datavisualization, analytics, pythonprogramming, dataanalysis, ml, statistics, stats wire, statswire, algorithm, data mining, data science project, machine learning tutorial, machine learning projects, machine learning python, python tutorial, pytorch, pytorch tutorials, pytorch tutorials for beginners, deeplearning with pytorch, pytorch basics
Id: 8MUuEmNFHZ0
Channel Id: undefined
Length: 5min 58sec (358 seconds)
Published: Mon Apr 03 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.