Python Neural Networks – Tensorflow 2.0 Tutorial – Using the Model to Make Predictions




[ad_1]

This tensorflow 2.0 tutorial will show you how to use our previously created model to make predictions on specific images.

Playlist: https://www.youtube.com/watch?v=OS0Ddkle0o4&list=PLzMcBGfZo4-lak7tiFDec5_ZMItiIIfmj

Text-Based Tutorial: https://techwithtim.net/tutorials/python-neural-networks/making-predictions/

Tensorflow Website: https://www.tensorflow.org/alpha/tutorials/keras/basic_classification

◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python
https://tech-with-tim.teachable.com/p

📸 Instagram: https://www.instagram.com/tech_with_tim
🌎 Website https://techwithtim.net
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/pr2k55t
📝 LinkedIn: https://www.linkedin.com/in/tim-rusci
📂 GitHub: https://github.com/techwithtim
🔊 Podcast: https://anchor.fm/tech-with-tim

💵 One-Time Donations: https://www.paypal.com/donate/?token=
💰 Patreon: https://www.patreon.com/techwithtim
◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

Tags:
– Tech With Tim
– Pygame
– Python Tutorials

Source


[ad_2]

Comment List

  • Tech With Tim
    November 23, 2020

    bro you are most greatest person on the earth to learn neural networks from

  • Tech With Tim
    November 23, 2020

    Another great course Tim. One thing I'd personally like to hear more about is what's happening at the hidden layers when the model was training.

  • Tech With Tim
    November 23, 2020

    How can I test my own images instead of the images in the video?

  • Tech With Tim
    November 23, 2020

    Great vid! enjoyed it a lot

  • Tech With Tim
    November 23, 2020

    Any idea how to save the model? pickle dosen't work and gives "cannot pickle '_thread.RLock' object" error

  • Tech With Tim
    November 23, 2020

    Love your tutorials. Thanks alot for the effort!

  • Tech With Tim
    November 23, 2020

    how to save the model like we did in the machine learning series using pickle

  • Tech With Tim
    November 23, 2020

    Superb video lesson

  • Tech With Tim
    November 23, 2020

    Great video as always, thanks!
    One tiny note- maybe when using thinner pen on the whiteboard will make it easier to read?

  • Tech With Tim
    November 23, 2020

    Actually you can saved the training model into either TF format or Keras format. But, then can you show us how to do predictions on these saved model?

  • Tech With Tim
    November 23, 2020

    bro i am getting 'list' object has no attribute 'compile'

  • Tech With Tim
    November 23, 2020

    for 9:30, expected input have to be 3D? I can not use specified data from test_images??? (line:28)

  • Tech With Tim
    November 23, 2020

    Great tutorial, keep the good work up , Thanks

  • Tech With Tim
    November 23, 2020

    hey, i have done this project before but recently I redid it and realized that like all of my accuracy outputs during training are between 0 and 0.01. I have followed this exact setup and am using tensorflow-gpu=2.1.0 with CUDA 10.1. But, suprisingly my loss is really low, in the 1e-6 range after 3 epochs. What in the world is happening?? Can anyone explain this?

  • Tech With Tim
    November 23, 2020

    i <3 you, you explain very well

  • Tech With Tim
    November 23, 2020

    Whoever is that one idiot that disliked probably didn't even watch the video.

  • Tech With Tim
    November 23, 2020
  • Tech With Tim
    November 23, 2020

    my code guesses everything as sandals lol

  • Tech With Tim
    November 23, 2020

    Hi Tim

    Thanks for amazing stuff
    And specifically layers u explained is amazing in part 1 of tutorial

    specially i am looking for building model and matrix shape

    But could u please explain it for new test set

    Actually i was trying for an audio classifier from a tutorial in youtube
    But for prediction they used same training dataset , but when i m trying with some new dataset

    It is showing error

    " Error when checking input : expected conv2d_1_input to have shape (9,12,1) but got array witj shape of (6,12,1) "

    So could u please explain how to shape new input dataset in our prection part ??

  • Tech With Tim
    November 23, 2020

    amazing vid just a quick add in for anyone who tried that last thing mentioned on targeting an individual item for prediction now it has to be a numpy array and be written like this
    prediction = model.predict(np.array([test_images[7]]))
    otherwise, it will not work lols i got your back TIM :D- woahhhh code ninjas fo life

  • Tech With Tim
    November 23, 2020

    these videos are amazing and also very informative

  • Tech With Tim
    November 23, 2020

    I actually watch towards the end of your videos, thank you for making it easy to learn!

  • Tech With Tim
    November 23, 2020

    How we can save this model ?
    Thank you for this tutorial .

  • Tech With Tim
    November 23, 2020

    I get these bunch of '=' after all my epochs. Whats that . (i mean a lot of '='). How to fix it ?

  • Tech With Tim
    November 23, 2020

    Great Video! I know that regression neural networks are not very used but I'd like to see some tutorial on that, if possible. How to properly treat data, and effectively predict numeric values with the trained model.

  • Tech With Tim
    November 23, 2020

    Do you have a more advanced tutorial on neural networks?

  • Tech With Tim
    November 23, 2020

    Tim can you show us how you load the different images in the code..means where you save those images on system?

  • Tech With Tim
    November 23, 2020

    me: struggling to understand the concept and trying really hard

    tim: so this was a very easy problem :))))
    jokes aside your videos are really good thanks for making them

  • Tech With Tim
    November 23, 2020

    Hi Tim I am getting a IndexError: list index out of range on the plt.xlabel("Actual…") line 33 in your code. I have been googling about the issue however have not found a work around as the i index in the test_labels seems to work for you.

  • Tech With Tim
    November 23, 2020

    Awesome

  • Tech With Tim
    November 23, 2020

    Awsome as always👍

  • Tech With Tim
    November 23, 2020

    Thanks Tim , you're the best! Learned a lot from your vids. 🙂

  • Tech With Tim
    November 23, 2020

    Why don't you use a Jupyter Notebook?

  • Tech With Tim
    November 23, 2020

    Great tutorials! : )

  • Tech With Tim
    November 23, 2020

    I really appreciate your effort Tim. Everything is clear and easy to follow. Thank you

  • Tech With Tim
    November 23, 2020

    well no dislikes on video , shows only the real learner reach to real quality content.

  • Tech With Tim
    November 23, 2020

    Hey, I'm followed your tuturial, but it says the outputs is ankleboot for everything

  • Tech With Tim
    November 23, 2020

    Never have I ever been so fond of an ankle boot!

  • Tech With Tim
    November 23, 2020

    I know I comment on every video but this felt so satisfying. WIth a little read up I understood EVERYTHING and fiddling around with the code is so much fun.

  • Tech With Tim
    November 23, 2020

    nice video

  • Tech With Tim
    November 23, 2020

    This is a Awesome 😎 Tutorial

  • Tech With Tim
    November 23, 2020

    tim you should do a new series called program showcase where you showcase diffrent programs by us or other people

Write a comment