MCPcopy Index your code
hub / github.com/FoundationVision/ByteTrack / write

Method write

yolox/utils/logger.py:44–52  ·  view source on GitHub ↗
(self, buf)

Source from the content-addressed store, hash-verified

42 self.caller_names = caller_names
43
44 def write(self, buf):
45 full_name = get_caller_name(depth=1)
46 module_name = full_name.rsplit(".", maxsplit=-1)[0]
47 if module_name in self.caller_names:
48 for line in buf.rstrip().splitlines():
49 # use caller level log
50 logger.opt(depth=2).log(self.level, line.rstrip())
51 else:
52 sys.__stdout__.write(buf)
53
54 def flush(self):
55 pass

Callers 15

write_results_scoreFunction · 0.80
img2videoFunction · 0.80
write_resultsFunction · 0.80
imageflow_demoFunction · 0.80
convert_videoFunction · 0.80
mainFunction · 0.80
imageflow_demoFunction · 0.80
launch_by_subprocessFunction · 0.80
write_resultsFunction · 0.80
write_resultsFunction · 0.80

Calls 1

get_caller_nameFunction · 0.85

Tested by 3

run_each_datasetFunction · 0.64
write_resultsFunction · 0.64
write_results_no_scoreFunction · 0.64