- 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
- 極簡Spring Cloud實戰
- SDL Game Development
- 計算機應用與維護基礎教程
- Manage Partitions with GParted How-to
- 平衡掌控者:游戲數值經濟設計
- 單片機系統設計與開發教程
- 微型計算機系統原理及應用:國產龍芯處理器的軟件和硬件集成(基礎篇)
- 深入理解序列化與反序列化
- LPC1100系列處理器原理及應用
- 新編電腦組裝與硬件維修從入門到精通
- Arduino項目案例:游戲開發
- Mastering Quantum Computing with IBM QX
- Building Machine Learning Systems with Python
- Blender for Video Production Quick Start Guide