Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Optimize Tensorflow Pipeline Performance: prefetch & cache | Deep Learning Tutorial 45 (Tensorflow)

44.6K views on YouTube

It is important to make optimal use of your hardware resources (CPU and GPU) while training a deep learning model. You can use tf.data.Dataset.prefetch(AUTOTUNE) and tf.data.Dataset.cache() methods for this purpose. They help you optimize tensorflow input pipeline performance. In this video we will go over how these two methods work and will write some code as well.

Code: https://github.com/codebasics/deep-learning-keras-tf-tutorial/blob/master/45_prefatch/prefetch_caching.ipynb

Deep learning playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uu7CxAacxVndI4bE_o3BDtO
Machine learning playlist: https://www.youtube.com/playlist?list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw  

🔖Hashtags🔖

#tensorflowpipeline #tensorflowprefetchdataset #tensorflowprefetchautotune #prefetchautotune #tensorflowinputpipeline #tensorflowprefetch #tensorflowdatapipeline

Do you want to learn technology from me? Check https://resources.codebasics.io/DmcQdM for my affordable video courses.

🌎 Website: https://resources.codebasics.io/DmcQdM

🎥 Codebasics Hindi channel: https://www.youtube.com/channel/UCTmFBhuhMibVoSfYom1uXEg

#️⃣ Social Media #️⃣
🔗 Discord: https://discord.gg/r42Kbuk
📸 Instagram: https://www.instagram.com/codebasicshub/
🔊 Facebook: https://www.facebook.com/codebasicshub
📱 Twitter: https://twitter.com/codebasicshub
📝 Linkedin (Personal): https://www.linkedin.com/in/dhavalsays/
📝 Linkedin (Codebasics): https://www.linkedin.com/company/codebasics/

❗❗ DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers’.