Tensorboard Introduction | Deep Learning Tutorial 16 (Tensorflow2.0, Keras & Python)

Поділитися
Вставка
  • Опубліковано 27 вер 2024
  • Often it becomes necessary to see what's going on inside your neural network. Tensorboard is a tool that comes with tensorflow and it allows you to visualize neural network as well as how it trains itself. This tool is very helpful in debugging issues too. We will use the notebook that we created in previous videos for recognizing handwritten digits and visualize accuracy,loss with every epoch using tensorboard. We will also look at the visual graphs of neural network along with some internal computations.
    Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
    🔖 Hashtags 🔖
    #tensorboard #tensorboardtutorial #tensorboardgraph #deeplearningtutorial #tensorboardpytorch #pytorchtensorboard
    Next Video: • GPU bench-marking with...
    Previous video: • Chain Rule | Deep Lear...
    Deep learning playlist: • Deep Learning With Ten...
    Machine learning playlist : • Machine Learning Tutor...
    Code for notebook: github.com/cod...
    Website: codebasics.io/
    Facebook: / codebasicshub
    Twitter: / codebasicshub

КОМЕНТАРІ • 67

  • @codebasics
    @codebasics  2 роки тому +2

    Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced

  • @armagaan007
    @armagaan007 3 роки тому +29

    The problem you are facing at 9:20 is because you did not make a separate log for each run. You ran the code multiple times with the log_dir name being the same. You should append a unique number (I append time) to make the log-name of each run unique. If you don't, then data from every new run is saved on the previous log itself. And it does not overwrite your old data of that log (it's like adding a sentence to an already written paragraph).
    At the end of the first run, you were at say, 90% accuracy then you re-run the code (without changing the log-name) and the accuracy of your first epoch goes back to 1%. That's why you see that zig-zag in the accuracy and loss graphs. It appended the 1% info in front of 90% in the log_dir. (not to mention that it saved the x-axis data too making the graph of 1% start from step-1 on the x-axs)

  • @harshsrivastava1662
    @harshsrivastava1662 Місяць тому +1

    if you are facing error in tensorboard dashboard, try it in powershell prompt , move to same directory add that same commad, it worked for me !

  • @kunalrastogi6530
    @kunalrastogi6530 Рік тому

    unexpected very detailed graph is displayed on my tensorboard

  • @arjunvarmamaths1349
    @arjunvarmamaths1349 5 місяців тому

    I'm Bing watching ur deep learning videos ❤❤

  • @dec13666
    @dec13666 3 роки тому +5

    It was an OK video, however and for some reason, I cannot get Tensorboard to work from Git Bash, only using Jupyter Notebooks. A bit more focus there would have been nicer.

  • @phungtruong6698
    @phungtruong6698 3 роки тому

    Thank you for declaring hyperparameters and parameters. I always confused them

  • @chayaravindra7649
    @chayaravindra7649 4 роки тому +1

    Waiting sir.. For your tutorial

  • @akankshagunti5301
    @akankshagunti5301 Рік тому

    Exciting 🤩

  • @ankitrawat1756
    @ankitrawat1756 Рік тому +1

    ERROR: Could not find `tensorboard`. Please ensure that your PATH
    contains an executable `tensorboard` program, or explicitly specify
    the path to a TensorBoard binary by setting the `TENSORBOARD_BINARY`
    environment variable.
    This error coming when i run the command
    %load_ext tensorboard
    %tensorboard --logdir logs/fit

  • @pallavipriyadarshini5065
    @pallavipriyadarshini5065 4 роки тому

    Thank u so much sir.. Brilliant representation...

  • @陳翰儒-d5m
    @陳翰儒-d5m 3 роки тому

    This is really useful, thank you sir.

  • @ntuppuppakkoranendarnnu3657
    @ntuppuppakkoranendarnnu3657 3 роки тому +1

    Sir is there any way we can get information about dataset used from TensorBoard?

  • @pallavipriyadarshini5065
    @pallavipriyadarshini5065 4 роки тому

    Thank u sir.. I am doing project on CNN.. Using tensorflow

  • @AlonAvramson
    @AlonAvramson 3 роки тому +1

    Thank you! BTW, did you also do a video on time-series forecasting?

  • @jiyabyju
    @jiyabyju 2 роки тому +1

    Sir ,you should see my graph...it was like noodles...so I give it up..😶

  • @snehasneha9290
    @snehasneha9290 4 роки тому

    Tq sir i waiting for u r videos

  • @shravankalyankar9194
    @shravankalyankar9194 2 роки тому

    How the histogram is will be giving us more information for debugging..

  • @marco2015p
    @marco2015p 3 роки тому

    thanks master

  • @jamesowusu-appiah7850
    @jamesowusu-appiah7850 3 роки тому

    I am getting an error here please. When I try running the callback, in the end I get an error that TypeError: can only concatenate str (not "list") to str. I don't know why this is happening though I run the same code.

  • @SvSzYT
    @SvSzYT 3 роки тому

    aren't the actual values the unsmoothed (faded) graph? So you should always set smoothing to 0

  • @adityashinde2878
    @adityashinde2878 4 роки тому

    This is going to be really helpful to understand what goes on under the hood

  • @harishsenapathy34
    @harishsenapathy34 2 роки тому +1

    Nice tutorial. Is it possible to somehow view these charts during execution? For very long executions, it will be helpful to view the progress while the training is underway. Is it OK to use 'Sigmoid' on a Dense layer with 10 neurons? My understanding is that Softmax is more appropriate for multi-class classification with more than 2 classes.

    • @ismailmoshood7774
      @ismailmoshood7774 5 місяців тому

      Softmax works better for multiclassification and its advisable

  • @work-dw2hl
    @work-dw2hl 4 роки тому +2

    bash: tensorboard: command not found i got this error how to fix this one

    • @muhammadusama1000
      @muhammadusama1000 3 роки тому

      Same problem

    • @jimchang1761
      @jimchang1761 3 роки тому

      @@muhammadusama1000 activate ur conda env

    • @alokjha6920
      @alokjha6920 3 роки тому

      you can also use-: py -m tensorboard

    • @Jason-ru7xt
      @Jason-ru7xt 3 роки тому

      Try running your neural network py file on the command prompt instead on Jupyter Notebook, and after it has run, enter the command: python -m tensorboard.py --logdir logs/

    • @kunalrastogi6530
      @kunalrastogi6530 Рік тому

      @@alokjha6920 add path of anaconda/scripts to environment variables

  • @saibalaji4713
    @saibalaji4713 4 роки тому +1

    Hello sir can you make a video on how to add meta data to tensor flow models to use it in android as tflite

  • @sumanta4593
    @sumanta4593 3 роки тому

    I am getting one error while launching tensorboard saying No dashboards are active for the current data set.
    Probable causes:
    You haven’t written any data to your event files.
    TensorBoard can’t find your event files.

    • @nacksharma265
      @nacksharma265 3 роки тому

      Same error , sir can you please help us

  • @troubution
    @troubution 4 роки тому

    Please upload a video on Adam optimizer...

  • @vinaychauhan3349
    @vinaychauhan3349 3 роки тому

    I am unable to access, getting error ERROR: Failed to start
    'C:\\Users\\Vinay.Chauhan\\Anaconda3\\Lib\\site-packages\\tensorboard'
    (set by the `TENSORBOARD_BINARY` environment variable): [WinError 5]
    Access is denied. Please help me!!

    • @alokjha6920
      @alokjha6920 3 роки тому

      open anoconda with administrative

    • @pseudounknow5559
      @pseudounknow5559 3 роки тому

      Run JupyterNotebook (anaconda) as administrator
      If it still doesn't work:
      Delete the cell:
      "%load_ext tensorboard
      %tensorboard --logdir logs/"
      Replace with:
      "pip uninstall -y tensorboard tb-nightly
      pip install -U tb-nightly"
      Finally replace the cell by:
      "%reload_ext tensorboard
      %tensorboard --logdir logs/"
      And go to "localhost:6006/"

    • @ssagnikssanyal2305
      @ssagnikssanyal2305 3 роки тому

      @@pseudounknow5559 THANKS

  • @aadityathakur972
    @aadityathakur972 3 роки тому

    How to kill tensorboard port in jupyter notebook

  • @muhammadhashir7949
    @muhammadhashir7949 4 роки тому

    Can we get a job at fang with bachlers

  • @work-dw2hl
    @work-dw2hl 4 роки тому

    sir i dont have gitbash is it necessary to install

  • @huizhang6614
    @huizhang6614 3 роки тому

    SGD is not necessarily better than Adam or vice verse, based on the plots. The reason is that you trained using Adam based on weights of previous SGD runs.

  • @piyushjaininventor
    @piyushjaininventor 3 роки тому

    lol

  • @danianiazi8229
    @danianiazi8229 3 роки тому

    >tensorboard --logdir logs/
    2021-04-21 15:39:25.725464: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
    2021-04-21 15:39:25.876844: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

    • @ntuppuppakkoranendarnnu3657
      @ntuppuppakkoranendarnnu3657 3 роки тому

      Please disable cuda and GPU in the configuration because it seems your computer does not have it.. it'll work finely after that

  • @vishaljaiswar6441
    @vishaljaiswar6441 2 роки тому

    Waiting sir.. For your tutorial

  • @122arvind
    @122arvind 4 роки тому +2

    without giving any proper Idea u inserted tensor board.

  • @ManusaiSRKian
    @ManusaiSRKian Місяць тому

    10:47

  • @bapparoy0404
    @bapparoy0404 3 роки тому

    Can you please detail a bit on mages in Tesorboard ? How to visialize the worngly predicted images in TB...

  • @pseudounknow5559
    @pseudounknow5559 3 роки тому

    Is it normal that i dont have the same values on the jupyter console and on the tensorboard charts ? epoch 1/5 Accuracy on console is 0.8746 and on tensorboard it is 0.922 ...... epoch 5/5 on console it is 0.9832 and on tensorboard it is 0.9834. There are not very different however not the same, is it a problem anf if so why ?

  • @shafagh_projects
    @shafagh_projects Рік тому

    My tensor board gives me the following error:
    "No dashboards are active for the current data set.
    You haven’t written any data to your event files.
    TensorBoard can’t find your event files."

    • @imane-hx1kp
      @imane-hx1kp Рік тому

      did you fix the error?

    • @shafagh_projects
      @shafagh_projects Рік тому

      @@imane-hx1kp yes I did. The problem was the version of tensorflow. I downgraded it and the problem resolved. Many thanks for asking. I am still following your lovely tutorials.

    • @imane-hx1kp
      @imane-hx1kp 11 місяців тому

      as i watched the nex video on ANN i realised that i have intel iris xe gpu and not nividia and the time it takes to train the model with only cpu took me so much time, do you have any alternatives?@@shafagh_projects