Implementing training in PyTorch
I wish to accomplish the following task in PyTorch-
I have the COCO dataset, wherein each data sample is used in training YOLO v3. After being processed by the model, the sample is to be deleted if it satisfies a certain condition. The data sample is thus no longer used for training in further epochs.
I now have two questions regarding implementation -
1) How do I process each sample individually? Do I go about this by setting batch size = 1? Or is there any advantage to disabling automatic batching. If so, how do I go about this.
2) How exactly do I delete the sample from the dataset for further epochs. Is there any way to skip this sample in the DataLoader?
Topic yolo pytorch cnn deep-learning python
Category Data Science