MCPcopy
hub / github.com/OpenTalker/SadTalker / split

Method split

src/face3d/models/arcface_torch/eval/verification.py:47–51  ·  view source on GitHub ↗
(self, indices)

Source from the content-addressed store, hash-verified

45 self.k_fold = KFold(n_splits=n_splits, shuffle=shuffle)
46
47 def split(self, indices):
48 if self.n_splits > 1:
49 return self.k_fold.split(indices)
50 else:
51 return [(indices, indices)]
52
53
54def calculate_roc(thresholds,

Callers 15

calculate_rocFunction · 0.95
calculate_valFunction · 0.95
mainFunction · 0.80
get_facerender_dataFunction · 0.80
get_dataFunction · 0.80
create_imagesFunction · 0.80
runFunction · 0.80
croper.pyFile · 0.80
generateMethod · 0.80
generateMethod · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected