MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / pre_run

Method pre_run

PATH/core/testers/reid_tester.py:63–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61 tmp.camera_ids_list.append(tmp.camera_ids.cpu())
62
63 def pre_run(self):
64 tmp = self.tmp
65 tmp.vbatch_time = AverageMeter(10)
66 tmp.vdata_time = AverageMeter(10)
67 tmp.features_list = list()
68 tmp.labels_list = list()
69 tmp.camera_ids_list = list()
70
71 self.model.eval()
72
73 def create_dataset(self):
74 ginfo = self.ginfo

Callers 1

extractMethod · 0.95

Calls 1

AverageMeterClass · 0.90

Tested by

no test coverage detected