MCPcopy Create free account
hub / github.com/YZY-stack/DF40 / inference

Function inference

DeepfakeBench_DF40/training/test.py:142–144  ·  view source on GitHub ↗
(model, data_dict)

Source from the content-addressed store, hash-verified

140
141@torch.no_grad()
142def inference(model, data_dict):
143 predictions = model(data_dict, inference=True)
144 return predictions
145
146
147def main():

Callers 1

test_one_datasetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected