- Deep Learning with PyTorch
- Vishnu Subramanian
- 95字
- 2021-06-24 19:16:26
Loading data
Preparing data for deep learning algorithms could be a complex pipeline by itself. PyTorch provides many utility classes that abstract a lot of complexity such as data-parallelization through multi-threading, data-augmenting, and batching. In this chapter, we will take a look at two of the important utility classes, namely the Dataset class and the DataLoader class. To understand how to use these classes, let's take the Dogs vs. Cats dataset from Kaggle (https://www.kaggle.com/c/dogs-vs-cats/data) and create a data pipeline that generates a batch of images in the form of PyTorch tensors.
推薦閱讀
- Learning AngularJS Animations
- Applied Unsupervised Learning with R
- 數(shù)字道路技術(shù)架構(gòu)與建設(shè)指南
- 硬件產(chǎn)品經(jīng)理手冊(cè):手把手構(gòu)建智能硬件產(chǎn)品
- 計(jì)算機(jī)維修與維護(hù)技術(shù)速成
- Arduino BLINK Blueprints
- 筆記本電腦維修300問
- 深入理解序列化與反序列化
- Java Deep Learning Cookbook
- Hands-On Deep Learning for Images with TensorFlow
- 單片機(jī)原理與技能訓(xùn)練
- Spring Security 3.x Cookbook
- 單片機(jī)項(xiàng)目設(shè)計(jì)教程
- FPGA實(shí)驗(yàn)實(shí)訓(xùn)教程
- MicroPython Cookbook