Reader small image

You're reading from  Deep Learning with Microsoft Cognitive Toolkit Quick Start Guide

Product typeBook
Published inMar 2019
Reading LevelIntermediate
PublisherPackt
ISBN-139781789802993
Edition1st Edition
Languages
Right arrow
Author (1)
Willem Meints
Willem Meints
author image
Willem Meints

Willem Meints is a software architect and engineer with a wide variety of interests. His background in software engineering hasnt stopped him from exploring new areas like machine learning as part of his daily work. This sparked a deep passion for everything related to artificial intelligence and deep learning. Willem studied electronics after his high-school career but quickly discovered he had more fun building applications. This led to his decision to leave the world of electronics and find a career in software engineering. After he finished his bachelor in software engineering he started working for Info Support where hes been working ever since.
Read more about Willem Meints

Right arrow

Working with large datasets

We've looked at NumPy and Pandas as ways to feed in-memory dataset to CNTK for training. But not every dataset is small enough to fit into memory. This is especially true for datasets that contain images, video samples, or sound samples. When you work with larger datasets, you only want to load small portions of the dataset at a time into memory. Usually, you will only load enough samples into memory to run a single minibatch of training.

CNTK supports working with larger datasets through the use of MinibatchSource. Now, MinibatchSource is a component that can load data from disk in chunks. It can automatically randomize samples read from the data source. This is useful for preventing your neural network from overfitting due to a fixed order in the training dataset.

MinibatchSource has a built-in transformation pipeline. You can use this pipeline...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Deep Learning with Microsoft Cognitive Toolkit Quick Start Guide
Published in: Mar 2019Publisher: PacktISBN-13: 9781789802993

Author (1)

author image
Willem Meints

Willem Meints is a software architect and engineer with a wide variety of interests. His background in software engineering hasnt stopped him from exploring new areas like machine learning as part of his daily work. This sparked a deep passion for everything related to artificial intelligence and deep learning. Willem studied electronics after his high-school career but quickly discovered he had more fun building applications. This led to his decision to leave the world of electronics and find a career in software engineering. After he finished his bachelor in software engineering he started working for Info Support where hes been working ever since.
Read more about Willem Meints