MCPcopy Create free account
hub / github.com/TencentARC/AnimeGamer / cuculate_level

Function cuculate_level

inference_Decoder.py:27–39  ·  view source on GitHub ↗
(tire)

Source from the content-addressed store, hash-verified

25
26
27def cuculate_level(tire):
28 motion = int(tire)
29 if motion == 1:
30 tire = 0.5
31 elif motion == 2:
32 tire = 2.5
33 elif motion == 3:
34 tire = 10
35 elif motion == 4:
36 tire = 15
37 else:
38 tire = 40
39 return tire
40
41def read_labels_and_videos(folder_path):
42 labels_folder = os.path.join(folder_path, 'labels')

Callers 1

sampling_mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected