ef2c16f4ad66b652b836be36465ee63c978f3194,retinanet/dataloader.py,CSVDataset,__init__,#CSVDataset#,129
Before Change
with self._open_for_csv(self.train_file) as file:
self.image_data = self._read_annotations(csv.reader(file, delimiter=","), self.classes)
except ValueError as e:
raise_from(ValueError("invalid CSV annotations file: {}: {}".format(self.train_file, e)), None)
self.image_names = list(self.image_data.keys())
def _parse(self, value, function, fmt):
After Change
with self._open_for_csv(self.train_file) as file:
self.image_data = self._read_annotations(csv.reader(file, delimiter=","), self.classes)
except ValueError as e:
raise(ValueError("invalid CSV annotations file: {}: {}".format(self.train_file, e)))
self.image_names = list(self.image_data.keys())
def _parse(self, value, function, fmt):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: yhenon/pytorch-retinanet
Commit Name: ef2c16f4ad66b652b836be36465ee63c978f3194
Time: 2020-06-25
Author: yann.henon@ismconnect.com
File Name: retinanet/dataloader.py
Class Name: CSVDataset
Method Name: __init__
Project Name: yhenon/pytorch-retinanet
Commit Name: ef2c16f4ad66b652b836be36465ee63c978f3194
Time: 2020-06-25
Author: yann.henon@ismconnect.com
File Name: retinanet/dataloader.py
Class Name: CSVDataset
Method Name: load_classes