딥러닝

yolov5 모르는 용어 정리

DanGEE 2023. 3. 24. 15:55

1. InfiniteDataLoader vs DataLoader 차이

 

> gpt 님이 말씀하사...
DataLoader is a general-purpose data loader that loads a finite dataset in PyTorch. It provides an iterable over a given dataset that loads a specified number of samples at a time and applies transformations to each sample. It is commonly used in machine learning tasks such as image classification, object detection, and natural language processing.

 

InfiniteDataLoader, on the other hand, is an extension of DataLoader that allows for infinite loading of data by looping over the dataset repeatedly. It is useful for training on large, streaming datasets where it is not feasible to load the entire dataset into memory at once.