52b334a63ea83ef5a6a4033caf3ae76cb6fed27f,torchreid/data/datasets/dataset.py,Dataset,__repr__,#Dataset#,234
Before Change
def __repr__(self):
num_train_pids, num_train_cams = self.parse_data(self.train)
num_query_pids, num_query_cams = self.parse_data(self.query)
num_gallery_pids, num_gallery_cams = self.parse_data(self.gallery)
msg = " ----------------------------------------\n" \
After Change
def __repr__(self):
num_train_pids = self.get_num_pids(self.train)
num_train_cams = self.get_num_cams(self.train)
num_query_pids = self.get_num_pids(self.query)
num_query_cams = self.get_num_cams(self.query)
num_gallery_pids = self.get_num_pids(self.gallery)
num_gallery_cams = self.get_num_cams(self.gallery)
msg = " ----------------------------------------\n" \
" subset | // ids | // items | // cameras\n" \
" ----------------------------------------\n" \
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 52b334a63ea83ef5a6a4033caf3ae76cb6fed27f
Time: 2020-08-10
Author: k.zhou@surrey.ac.uk
File Name: torchreid/data/datasets/dataset.py
Class Name: Dataset
Method Name: __repr__
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 52b334a63ea83ef5a6a4033caf3ae76cb6fed27f
Time: 2020-08-10
Author: k.zhou@surrey.ac.uk
File Name: torchreid/data/datasets/dataset.py
Class Name: ImageDataset
Method Name: show_summary
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 52b334a63ea83ef5a6a4033caf3ae76cb6fed27f
Time: 2020-08-10
Author: k.zhou@surrey.ac.uk
File Name: torchreid/data/datasets/dataset.py
Class Name: Dataset
Method Name: __repr__
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 52b334a63ea83ef5a6a4033caf3ae76cb6fed27f
Time: 2020-08-10
Author: k.zhou@surrey.ac.uk
File Name: torchreid/data/datasets/dataset.py
Class Name: VideoDataset
Method Name: show_summary