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

Function match_name_keywords

tutorials/transtrack/main_track.py:205–211  ·  view source on GitHub ↗
(n, name_keywords)

Source from the content-addressed store, hash-verified

203
204 # lr_backbone_names = ["backbone.0", "backbone.neck", "input_proj", "transformer.encoder"]
205 def match_name_keywords(n, name_keywords):
206 out = False
207 for b in name_keywords:
208 if b in n:
209 out = True
210 break
211 return out
212
213 for n, p in model_without_ddp.named_parameters():
214 print(n)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected