Setup Mac for Machine Learning with TensorFlow in 13 minutes (works for all M1, M2)

Ғылым және технология

Setup your Apple M1 or M2 (Normal, Pro, Max or Ultra) Mac for data science and machine learning with TensorFlow.
In this video, we install Homebrew and Miniforge3 to create a Conda environment containing pandas, NumPy, Scikit-Learn, Matplotlib, Jupyter and TensorFlow.
We'll also setup TensorFlow to leverage the GPU on the new M1 chips.
Step by step instructions - github.com/mrdbourke/m1-machi...
See M1 machine learning speed test benchmarks - • Apple's M1 Pro and M1 ...
Setup Apple Silicon Mac with PyTorch - • Setup Mac for Machine ...
Links:
Learn ML (beginner-friendly courses I teach) - www.mrdbourke.com/ml-courses/
ML courses/books I recommend - www.mrdbourke.com/ml-resources/
Read my novel Charlie Walks - www.charliewalks.com
Connect elsewhere:
Web - dbourke.link/web
Twitter - / mrdbourke
Twitch - / mrdbourke
ArXiv channel (past streams) - dbourke.link/archive-channel
Get email updates on my work - dbourke.link/newsletter
Timestamps:
0:00 - Intro
0:30 - What we're covering
1:00 - All resources are on GitHub
1:25 - Downloading and installing Homebrew
2:45 - Downloading and installing Miniforge3
4:25 - Restart terminal for changes to take effect
4:57 - Creating a directory to test out TensorFlow
5:30 - Creating a Conda environment for machine learning experiments
7:12 - Installing TensorFlow dependencies for Mac from Apple's Conda channel
8:40 - Installing tensorflow-macos
9:15 - Installing tensorflow-metal so you can run TensorFlow on your Mac's GPU
10:30 - Installing tensorflow-datasets (optional)
10:50 - Installing standard data science packages (Jupyter, NumPy, pandas, Matplotlib, Sklearn)
11:15 - Starting a Jupyter Notebook
11:40 - Testing importing different libraries and seeing if TensorFlow has GPU access
#MachineLearning #MacBookPro

Пікірлер: 339

  • @OtRatsaphong
    @OtRatsaphong2 жыл бұрын

    Thank you Daniel! I bought the M1 MBP so that I could learn and experiment. Successfully installed and tested TensorFlow-metal. Enrolled in your TemsorFlow Developer Certificate course. Great course, great explanations of concepts and exercises!

  • @D12075
    @D120752 жыл бұрын

    This is the best environment setup tutorial I've ever seen. I just got my personal MacBook Air M1 ~30 min ago and I'm already up and running with TF on the GPU. Well done, sir!

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Thank you Daniel! Enjoy!

  • @MrPanda-gf6iu

    @MrPanda-gf6iu

    2 жыл бұрын

    I wish I discovered this earlier, I wasted all day trying to setup a docker.

  • @yvankoabiloa9490

    @yvankoabiloa9490

    Жыл бұрын

    ​@@mrdbourke when I try to use my apple gpu with pytorch on jupyter notebook, it said that my kernel died. How can I make my kernel works without this thing happen? PS: I try to use a transformer model to train on an algorithm to detect things on images

  • @drhafez0

    @drhafez0

    7 ай бұрын

    Can help me decide, is MacBook air m1 good for starting on the ai and ML filed , or better to get a Nvidia GPU laptop ?

  • @atharvmukane4768

    @atharvmukane4768

    4 ай бұрын

    Please reply to this.I'm buying m2 air now

  • @sportherz
    @sportherz2 жыл бұрын

    amazing, I tried to get all this installed for the last few days and failed, with the video it was so easy. Thank you so much!

  • @BradenLimb
    @BradenLimb2 жыл бұрын

    Thanks Daniel! After trying multiple other tutorials I was going to give up, but I got TensorFlow working with this tutorial!

  • @jimmye1205
    @jimmye12052 жыл бұрын

    WOW!! Speechless literally I was just about to give up and start doing Machine Learning on my old pc if it were not for this I would have been coding on a toaster. Thank you Daniel very though rough video and very helpful.

  • @GangstTheEr
    @GangstTheEr Жыл бұрын

    There are dozens of videos that I have not been able to utilize, this one is so useful. Thank you!

  • @mrdbourke

    @mrdbourke

    Жыл бұрын

    Thank you! Glad you enjoyed!

  • @irshadgirach2213
    @irshadgirach2213 Жыл бұрын

    You are a life saver man! Had been stuck trying to get tensor flow working on my m1(I'm new to Python and ML) and after trying out countless ways I finally found your video. Thanks a ton!

  • @MadhanSidharth

    @MadhanSidharth

    Жыл бұрын

    Can we run code on gpu

  • @karanhadiyal65
    @karanhadiyal65 Жыл бұрын

    Thank you very much. I was trying to install tensorflow for two days, i couldn't find any way, your video solved my problem. Thank you very very much.

  • @emanuelmhlanga
    @emanuelmhlanga2 жыл бұрын

    Hey man. You saved my life. I am very grateful for your help. I ended up using my old windows laptop for my project because tensorflow was not running on my m1.

  • @hantaojiang297
    @hantaojiang297 Жыл бұрын

    Best tutorial ever! Now I can finally use my mac to do the deep learning locally. Thank you so much!

  • @edhead76
    @edhead762 ай бұрын

    and now my M2Pro chip comes to life in tensorFlow. Thanks a million, man!!

  • @shouryabhosale4636
    @shouryabhosale46362 ай бұрын

    thanks a lot for this video, i tried many diff videos on yt and yet none of them worked but i successfully installed tf using ur video, really glad i fond this video

  • @Om-mb8cv
    @Om-mb8cv Жыл бұрын

    Awesome Video Daniel !! Such a crisp explanation for the process

  • @maximbeekenkamp3342
    @maximbeekenkamp33422 жыл бұрын

    Literally the only guide on the whole internet that actually works

  • @palahnuk1
    @palahnuk1 Жыл бұрын

    Daniel - sincere thanks for sharing your hard won knowledge and skills. You are an open and supportive person. Cheers ! ... Well Done !!

  • @chenzihao6142
    @chenzihao61422 жыл бұрын

    Dear Sir,I am an international student at UOM,and I was doing preview for the 2nd year study,your video helped me a lot on tensorflow!!thank you!

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    You’re welcome Chen!

  • @bacon_sammich2845
    @bacon_sammich2845 Жыл бұрын

    Thanks this worked better than the other solutions I've seen on KZread

  • @vlademirzago
    @vlademirzago2 жыл бұрын

    As always great content sir... kudos !!! My new machine arrives this week, very excited to reproduce this tutorial on that.

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Thank you Vlademir! Enjoy your new machine

  • @saigowthambabuamburi6158
    @saigowthambabuamburi61582 жыл бұрын

    Thank you so much daniel....i have been trying from the past 4 months to install tensorflow on mac....this really helped me a lot :-))

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    You’re welcome Sai!

  • @bierfassner2253
    @bierfassner22532 жыл бұрын

    Omg thanks ive struggled for so long to get this running 🏃 But you came to save my in the Mac terminal lost souls

  • @kunupat
    @kunupat7 ай бұрын

    Thanks! These instructions worked on M3 Pro as well! You saved my day!

  • @mrdbourke

    @mrdbourke

    7 ай бұрын

    Glad to hear it worked!

  • @pankajshaw674
    @pankajshaw6742 жыл бұрын

    I recently purchased macbook air. I was facing difficulty in installing ML libraries. This is very helpful. Thanks :)

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Hey Pankaj! Glad to hear :) did you get it all setup?

  • @krishnakanth4055
    @krishnakanth40552 жыл бұрын

    Best video! The only video all things worked On M1 Mac as per 2022

  • @rich4rd636
    @rich4rd6362 жыл бұрын

    bought the mac pro 14 the same day you release this video. Thanks so much for this video

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    You’re welcome Rich! Enjoy your new computer

  • @evanortiz8561
    @evanortiz8561 Жыл бұрын

    BRO YOU JUST SAVED ME DAYS OF RESEARCH. THANK YOU SO MUCH

  • @GuyThompsonFWTX
    @GuyThompsonFWTX2 жыл бұрын

    Still waiting on my M1 Max to show up after ordering the week after the release. Thanks for these videos. Would love to see more about how you setup you dev environment in general.

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Woah! They must be popular if you still don’t have it… as for my dev setup I usually make a Conda environment (similar to the video) for each different project. The environment lives inside the project folder so everything for a project is in one place.

  • @matija-ziberna

    @matija-ziberna

    2 жыл бұрын

    Into my third week:)

  • @0x007A

    @0x007A

    2 жыл бұрын

    @@mrdbourke what are your thoughts on using containers to isolate each development tool from the host computer? I have been using containerized Python, pip, pipenv, pylint, and Jupyter to (1) ensure the same development environment is easily reproducible and (2) avoid "polluting" the host computer with globally-installed development tools and libraries.

  • @amithbk12man
    @amithbk12man2 жыл бұрын

    Really helpful !! Will stay tuned to more of your videos.

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Thank you Amit!

  • @65_dhyaneshdikkar49
    @65_dhyaneshdikkar497 ай бұрын

    gone through many tutorials but found this one the best....and works,, so, I am subscribing you...

  • @mrdbourke

    @mrdbourke

    7 ай бұрын

    Glad to hear it works!

  • @maheemahee6011
    @maheemahee60112 жыл бұрын

    You saved my £1500 man i was about to break my mac pro and wanted to get windows You are such a beauty thank you very much everything worked on my mac

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Enjoy!

  • @shadyzahed3424
    @shadyzahed34242 жыл бұрын

    Thanks a million, after spending several hours trying to solve it, I finally managed through you. Cheers :)

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    You’re welcome Shady! Glad you got it working!

  • @kabala369
    @kabala3692 жыл бұрын

    Thank you so much Daniel. Very happy and grateful to you 😊👌🏼👍🏼

  • @olivias1966
    @olivias19668 ай бұрын

    Only thing that worked for me after multiple hours!! Thank you so much!!!

  • @mrdbourke

    @mrdbourke

    8 ай бұрын

    Glad it worked Olivia! Happy machine learning!

  • @maxatthemax3291
    @maxatthemax32912 жыл бұрын

    Great tutorial! I have run into an error when using conda install. Towards the end, preparing transaction is done, verifying transaction is done, then executing transaction fails because of bad interpreter: No such file or directory. Before it says the last line, I can see it cut off my directory (a folder inside my documents but before tenserflow-test folder) because it has a space in it. Can conda install not get past folders with spaces in them?

  • @samhong6709
    @samhong67092 жыл бұрын

    Thanks a million Daniel. Though, I have one question to ask, Is there any reason that you downloaded Miniforge at the Home directory instead of the root directory? when I've compared the anaconda location with my other intel devices (where I used brew install) they just downloaded Under the root/opt directory and there seems to be a little difference in making new environments with the following common command "conda create --name env_name python==version"

  • @user-gq6jl9mf7m
    @user-gq6jl9mf7m2 жыл бұрын

    Thank you for your detail explanations. But I have a problem to use jupyter notebook. When I type "jupyter notebook" like you (11:15), occured. Someone says its reason is UTF-8 encoding, but i can't solve the problem though i changed the setting. If you know anything about this, could you tell me? Again, thanks a lot for the video!

  • @irfanyaqub9643
    @irfanyaqub96432 жыл бұрын

    Well, i hVe learned alot from you. I have took your lectures from udemy.. i am really thankful for that. Stay blessed and keep it up.

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Thank you Irfan! Keep learning legend

  • @alialmalki2750
    @alialmalki27502 жыл бұрын

    The legend back again. Thank you Daniel!!

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    You’re welcome Ali! Plenty more videos to come :)

  • @brickassist5622
    @brickassist56222 жыл бұрын

    hi, thanks a lot for a great video, however i am getting some numpy version incompability 1.19.5, any idea?

  • @videshdarshan4358
    @videshdarshan43582 жыл бұрын

    Hi Daniel, Thank you for this video. I have one question How to install other package when needed. Can you please tell me.

  • @ManuelBarros64
    @ManuelBarros642 жыл бұрын

    Great and clear instructions !! Thank you a lot. :-))

  • @LemaLogamou
    @LemaLogamou2 жыл бұрын

    Very useful tutorial. Do you have any idea of how I can install mediapipe in the ./env?

  • @magnets8264
    @magnets8264 Жыл бұрын

    hey Daniel, I m having problem in installing tensorflow-text please can u make a video on it

  • @harrivayrynen
    @harrivayrynen2 жыл бұрын

    Thank you for this. I have to try this with my M1 MacMini. Bought it about 6 months ago and I was disappointed how hard it was to make it work with ML/DL libraries. M1 has been mainly collecting dust. Time to do upgrade to OSX and try your step by step video. Maybe there is still some problems, but month by month we get new libraries which support ARM better. (Now I do not remember which libraries were hard to get going on 6 months ago, maybe it was gym and ml-agents, mainly reinforcement stuff)

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Hey Harri, I was the same when the M1 first came out. But now I find it works basically the same as all of the other machines I do machine learning on. Especially with TensorFlow-macos and TensorFlow-metal, installing these were a breeze to get TensorFlow running on the GPU

  • @nathanlewis42

    @nathanlewis42

    2 жыл бұрын

    @@mrdbourke I just installed on a M1 Mac mini and it doesn't work. The import tensorflow as tf line in the notebook gives the error: dlopen ........ Symbol not found: _OBJC_CLASS_$_MPSGraphCompilationDescriptor

  • @satvikbisht
    @satvikbisht10 ай бұрын

    Hey , Can you make one more video regarding the installation with the updated instructions. I think there have been few changes in the last year.

  • @luissousa3165
    @luissousa31652 жыл бұрын

    Im getting this error: could not find a version that satisfies the requiremnt tensorflow-macos (from versions:none)

  • @istvantoth5466
    @istvantoth54662 жыл бұрын

    I forgot also the question; to install Miniforge I have to conda deactivate the (base) env, right?

  • @bw7112
    @bw71122 жыл бұрын

    I tried to install tensorflow in the folder you named in GIT, it didn't work saying that tensorflow module cannot be found. Then I installed it in main folder, it worked. How is that possible?

  • @ngsingwong3083
    @ngsingwong3083 Жыл бұрын

    Hi, I still have some problems when running codes of RCNN mask model. I have already downloaded pycocotools modules, and I can see it is under miniconda. Still, it keep saying there is no module called pycocotools after I successfully downloaded, do you know why and how to fix this?

  • @Kartikflow
    @Kartikflow11 ай бұрын

    its working pretty good but i have question i have exit the terminal after all this and then when i open the terminal and type jupyter notebook it said invalid command could you please help me with this ?

  • @ZilgashXXXXX
    @ZilgashXXXXX Жыл бұрын

    Hi Daniel, i followed all the steps, but when i import tensorflow as tf, it still wrote Error: Initialization Failed. How do I solve for this?

  • @gerocastano8
    @gerocastano810 ай бұрын

    Is there a way to use Machine Learning with Tensorflow on the GPU inside of VSCode?

  • @santanubandyopadhyay2189
    @santanubandyopadhyay21892 жыл бұрын

    I am getting following error in MBA m1 ERROR: Could not find a version that satisfies the requirement tensorflow-macos (from versions: none) ERROR: No matching distribution found for tensorflow-macos

  • @sudiptoshuvro1594
    @sudiptoshuvro15943 ай бұрын

    I did everything and everything goes well. However, while I start training, the kernel becomes dead. Any solution that?

  • @kawingchan
    @kawingchan2 жыл бұрын

    Does this work with virtualenv + pip without having to install conda?

  • @sumanghosh5230
    @sumanghosh52302 жыл бұрын

    Failed to build h5py. Can you please solve this issue I really want to use Tensorflow

  • @travelingking8916
    @travelingking89162 жыл бұрын

    I tried tried your way 4 to 5 times but even after installing it shows module not found on m1 macbook air

  • @Sina-kh6ip
    @Sina-kh6ip9 ай бұрын

    i tried to install another library like seaborn opencv tranformers gymnasium its not worked

  • @DioBrando-qj7mw
    @DioBrando-qj7mw Жыл бұрын

    how do i set my enviroment to run tensorflow on m1 gpu?

  • @maheshbabukamepalli3488
    @maheshbabukamepalli34888 ай бұрын

    Hi Sir, could you please let us know how to install tf-models-official. thanks.

  • @mdjuhaeradittya
    @mdjuhaeradittya11 ай бұрын

    Thanks a lot! It worked on my Mac.

  • @RakibHasan-nq8df
    @RakibHasan-nq8df Жыл бұрын

    In this way, for every project should i have to create a new directory and set environment? Can you please show how to set up a an universal environment and play around different projects

  • @gregumstead6103
    @gregumstead61033 ай бұрын

    I have an M3 Max and the metal install fails. Is there an updated process? I get the following python -m pip install tensorflow-metal ERROR: Could not find a version that satisfies the requirement tensorflow-metal (from versions: none) ERROR: No matching distribution found for tensorflow-metal

  • @SaqrThabet
    @SaqrThabet8 ай бұрын

    It is an incredible video as it is the first time to successfully download tensorflow libraries on my mac. Unfortunately, the step when I am supposed to successfully run the code on Jupyter notebook did not work (1st create new python files leads to: "500: Internal Server")(2nd if the 1st step worked using: "pip instal --upgarde nbconvert", then when executing the code libraries like numpy are not found). These libraries such as numpy, pandas, and matplotlib could be imported successfully if I opened the python files using visual studio code, except for tensorflow. I'm still looking for an explanation and a solution for such problem.

  • @dhruvilshah7770
    @dhruvilshah77702 жыл бұрын

    Can someone pls help with installing SPYDER, JUPYTER LAB, GLUEVIZ, QT CONOLE AND R STUDIO through terminal

  • @siddharth4171
    @siddharth4171 Жыл бұрын

    Everything worked but when i try to create a new python file in jupyter as shown, it says "500 internal server error" how to fix this?

  • @saswatabiswas
    @saswatabiswas Жыл бұрын

    the jupyter is not importing pandas or numpy or anything else. shows IMPORT ERROR. please help

  • @msodev
    @msodev2 жыл бұрын

    Could you show us how to clean your HOME directory? After doing all this plus some vim config and stuff, the HOME directory gets messy as fuu

  • @samuelrodriguezagudelo3614
    @samuelrodriguezagudelo3614 Жыл бұрын

    THANKS! GREAT VIDEO

  • @lukasznowarkiewicz
    @lukasznowarkiewicz9 ай бұрын

    Basically wonderful tutorial Thanks a lot!

  • @romakhajiev9535
    @romakhajiev9535 Жыл бұрын

    I couldn't open jupyter notebook after installing it. It says "zsh: command not found: jupyter"

  • @likhithraj4239
    @likhithraj4239 Жыл бұрын

    Hi Daniel, thank you for the Video, after following the instructions while connecting the Jupiter notebook I am getting error "RuntimeError Traceback (most recent call last) RuntimeError: module compiled against API version 0xf but this version of numpy is 0xe --------------------------------------------------------------------------- ImportError Traceback (most recent call last) ImportError: numpy.core.multiarray failed to import The above exception was the direct cause of the following exception: SystemError Traceback (most recent call last) SystemError: returned a result with an error set The above exception was the direct cause of the following exception: " Request you please advise

  • @BlinkDrive555

    @BlinkDrive555

    Жыл бұрын

    same to me.

  • @joseptrevuelta6604
    @joseptrevuelta6604 Жыл бұрын

    @Daniel Bourke. Excellent tutorial. It worked perfectly. I'm using R for some CNN. Can you make a video on the TensorFlow, Keras, and R integration?

  • @alwaysontop828
    @alwaysontop82810 ай бұрын

    Hi, i followed exactly how you did, i got this message: 500: Internal Server Error, what to do? 😢

  • @incredible792
    @incredible7922 жыл бұрын

    chmod: Unable to change file mode on /Users/aurnob/Downloads/Miniforge3-MacOSX-arm64.sh: Operation not permitted showing this..help me out!

  • @monibraps
    @monibraps4 ай бұрын

    life saver. Thank you

  • @michaelbouril5278
    @michaelbouril5278 Жыл бұрын

    Seriously appreciate this video! Thank you

  • @mrdbourke

    @mrdbourke

    Жыл бұрын

    You’re welcome Michael! Happy machine learning :)

  • @krishpatel8342
    @krishpatel8342 Жыл бұрын

    i m using macbook air m2 and when i ran this code it was running very well but at last it showed intialization error

  • @kevochi09
    @kevochi092 жыл бұрын

    Thanks so much Dan, you are the best. Life saver than a CIU

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    You’re welcome Russell!

  • @hugopristauz3620
    @hugopristauz362010 ай бұрын

    excellent job - helping a lot 🙂

  • @bhaskarjitborah112
    @bhaskarjitborah11210 ай бұрын

    What is the total size of the whole installation on SSD ?

  • @satyasrujan2349
    @satyasrujan2349 Жыл бұрын

    how do i get all this knowlegde that you have? where can i learn from?

  • @WaitButHow
    @WaitButHow2 жыл бұрын

    Thank you! I followed the instructions, yet when I'm trying to train the model, I get: 2021-12-22 01:31:43.125470: W tensorflow/core/platform/profile_utils/cpu_utils.cc:128] Failed to get CPU frequency: 0 Hz Epoch 1/100 Any ideas why that is?

  • @mohamedalryah287
    @mohamedalryah2872 жыл бұрын

    thanks a lot. it helped me to get my macbook successfully work

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Stoked to hear Mohamed!

  • @Coolgamer322
    @Coolgamer322 Жыл бұрын

    I keep getting "ERROR: Could not find a version that satisfies the requirement tensorflow-metal (from versions: none" :( I am on python 3.8.15

  • @anapaunovic8405
    @anapaunovic8405 Жыл бұрын

    I download Miniforge 3 but in terminal it states there is no such file or directory

  • @arhanahmed8123
    @arhanahmed8123 Жыл бұрын

    how was your experience after this? Was Machine learning projects going ok in MacOS?

  • @karthiavenger4577
    @karthiavenger45772 жыл бұрын

    how to get jupyter notebook for r language.. please tel

  • @ParasProgramming123
    @ParasProgramming1232 жыл бұрын

    Why can't we simply use visual studio code? And Google colab TPU ?

  • @maryzakiandourrugrats4671
    @maryzakiandourrugrats46719 ай бұрын

    i am getting this "error: externally-managed-environment" its really frustrating me.

  • @jean-eliseeyao7290
    @jean-eliseeyao72902 жыл бұрын

    Thank you for this video and your clear explanations I would like to know if there is way to install the package "albumentations" on an M1 MacBook pro, I tried using conda and pip but it is not working

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    You’re welcome Jean! Glad you enjoyed As for the albumentations package I’m not sure I’ve personally never used it - you may want to check their GitHub issues page?

  • @utkarshgupta7310
    @utkarshgupta73102 жыл бұрын

    Hi Daniel, Please have a look at my previous comment regarding the error I am getting. Not able to set it up on my m1 mac.

  • @AravindG11
    @AravindG112 жыл бұрын

    Thanks Daniel, this was very helpful. Can you also make a similar tutorial on setting up PyTorch on M1 Macs? That would be super helpful.

  • @Anonymous-vh9tc

    @Anonymous-vh9tc

    2 жыл бұрын

    PyTorch GPU doesn’t work and will never work on M1, cpu version can be installed follow their getting started guide

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Let me look into the best setup for PyTorch on M1!

  • @AravindG11

    @AravindG11

    2 жыл бұрын

    @@mrdbourke Thanks man, I will be waiting for the PyTorch setup tutorial.

  • @trefoilz7355

    @trefoilz7355

    2 жыл бұрын

    @@mrdbourke waiting for PyTorch and Transformers as well! I have troubles with those two as well.

  • @aimanyounis8387

    @aimanyounis8387

    2 жыл бұрын

    @@trefoilz7355 Man I hope there is! , to avoid the disconnection on google colab.

  • @dayaalex8693
    @dayaalex8693 Жыл бұрын

    Worked for me, i even run a computer vision code for segmenting roads in video files. Just had to ' conda install opencv'

  • @mac6779
    @mac67792 жыл бұрын

    is rosetta required for any components?

  • @YoungMoneyInvestments
    @YoungMoneyInvestments9 ай бұрын

    Such a helpful video. Can't thank you enough.

  • @mrdbourke

    @mrdbourke

    9 ай бұрын

    Glad you enjoyed legend!

  • @santhoshsrinivas8393
    @santhoshsrinivas83932 жыл бұрын

    im using the new Mac m1 air but when I try to run conda install -c apple tensorflow-deps it throws an error saying PackageNotFoundError any help on this one?

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    Are you using Python 3.8?

  • @islamicinterestofficial
    @islamicinterestofficial Жыл бұрын

    Thank you so much for the video. I love it

  • @ParasProgramming123
    @ParasProgramming1232 жыл бұрын

    Can we use arduino raspberry pi and others too

  • @galaxys3844
    @galaxys38445 ай бұрын

    ModuleNotFoundError: No module named 'tensorflow' can you please reply. while i am running the code import numpy as np import pandas as pd import sklearn import tensorflow as tf import matplotlib.pyplot as plt # Check for TensorFlow GPU access print(f"TensorFlow has access to the following devices: {tf.config.list_physical_devices()}") # See TensorFlow version print(f"TensorFlow version: {tf.__version__}")

  • @bierfassner2253
    @bierfassner22532 жыл бұрын

    Can you maybe help me with getting this set up in vs code? I just can’t get it to work if I open the environment in vs code Jupiter tells me failed to start the kernel I tried to Google it and changed the kernel.json argv path but nothing seems to work I just wanna use Copilot to write ml :(

  • @mrdbourke

    @mrdbourke

    2 жыл бұрын

    VSCode notebooks should work with this, as long as you select the right kernel, the kernel will be at the same path you created your environment

Келесі